How to get the path from where an Excel Worksheet has been opened

S

Stefan Mueller

With
ActiveWorkbook.Path
I can get the path where an Excel Worksheet is located.
However, I also need to get the path of the shortcut if you start an
Excel Worksheet via a shortcut.

I need this information because I'd like to write some files to the
directory from where the Excel Worksheed has been opened.

Does anyone know how to get the path from where an Excel Worksheet has
been opened?
If it's not possible to get this path does anyone have a good idea/
workaround for my task to write some files to the directory from where
the Excel Worksheed has been opened?

Stefan
 

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