Wildcards in Hyperlinks

N

NEWER USER

I have a form with a Command button with the following Event Procedure on
Click:

Application.FollowHyperlink "C:\Program Files\Microsoft
Office\Office11\Outlook.exe", , True

It works fine and opens the application. However, some of my users have
earlier or later versions of Microsoft Office and the Outlook.exe file
resides in a different folder (Office10 or Office12). I tried the following
and unable to open file.

Application.FollowHyperlink "C:\Program Files\Microsoft
Office\*\Outlook.exe", , True

Application.FollowHyperlink "C:\Program Files\Microsoft
Office\..\Outlook.exe", , True

Any help appreciated on using wlidcards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top