Solved

Microsoft Access 2010 Question

Posted on 2016-10-21
2
40 Views
Last Modified: 2016-10-21
How do I launch IE with a URL from Text field by Macro?
0
Comment
Question by:Hiroyuki Tamura
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 250 total points
ID: 41854049
you don't need a macro to open a URL, all you need to do is change the Data type of your Text field to Hyperlink
1
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 250 total points
ID: 41854062
I avoid the "Access" only data types.  If you use them, you will not be able to upsize without converting them to standard data types and all the code and query changes that entails.

Use the FollowHyperlink method.  It works on a text field that contains the name of a website or the full path to any file as long as the file extension is known to Windows.  So the same instruction can open a .jpg, doc, .docx,, .xlsx,  Http://, etc.

The FollowHyperlink method may or may not be a macro action.  If it isn't, it is only a single line of VBA and intellisense will help you build it.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now