Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Microsoft Access 2010 Question

Posted on 2016-10-21
2
80 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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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 35

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

790 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