Jump to content
Macro Express Forums

How to open a file?


kemp2006

Recommended Posts

I am new to Macro Express, thank you in advance for your help.

 

I have searched, but not found the answer.

 

I would like to know if there is a direct command to open a file.

I can open the folder where the file is, and use the mouse move and double click command to get it open. But I am hoping there is a more direct way to do this.

Link to comment
Share on other sites

  • 13 years later...

A way to open an existing file that works for me is to use "Explorer:  Open Folder" and (in the Open Folder dialog box, Options tab, File Name/Path: field) click the box containing three dots and navigate to the folder containing that file (to cause the macro to open the folder that contains the file).  THEN, at the end of its file path (which will appear in the File Name/Path: field), type a backslash and the full name of the file, including its extension (such as .docx for a modern Word document).  The macro should then open that file whenever you trigger it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...