LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default How to get the path from where an Excel Worksheet has been opened

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect Excel Worksheet to be opened on one PC only Fabian Excel Discussion (Misc queries) 12 June 27th 20 11:44 PM
Identify the network path a file was opened from (Excel2007) DataBoy Excel Discussion (Misc queries) 2 September 25th 09 03:33 PM
Identify Full Path of Opened Excel Workbook monir Excel Programming 5 March 6th 05 01:19 AM
macro to retrieve path to opened file windsurferLA Excel Programming 3 February 17th 05 10:05 PM
Not allowing an Excel Worksheet to be opened in Word John[_73_] Excel Programming 5 January 20th 04 11:41 PM


All times are GMT +1. The time now is 07:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"