Opening a shortcut in a macro.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

What I am trying to do is to open an Excel file in a macro but using a
shortcut.

The following code works:
Workbooks.Open("FileName.xls)

The following code does not work:

WorkBooks.Open("FileNameShortcut")
Nor
WorkBooks.Open("FileNameShortcut.xls")

I do have th same problem with the FileSearch function.

Any Idea on how to perform taht ?

Thanks,
nde
 
Worked perferctly with the lnk extension.

Thanks a lot, you made my day !

Nde
 

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

Back
Top