Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default reference to current file path/folder name?


I have a macro that will always use another file in the same folder a
the macro file, however, the folder will vary depending on who is usin
the macro.

Is there some way to automatically reference this folder, without use
input, and set it as a string or something so I can use the folder pat
name

--
Edream
-----------------------------------------------------------------------
Edreams's Profile: http://www.excelforum.com/member.php...fo&userid=2839
View this thread: http://www.excelforum.com/showthread.php?threadid=47982

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default reference to current file path/folder name?

Try something along the lines of ActiveWorkbook.Path.

"Edreams" wrote in
message ...

I have a macro that will always use another file in the same folder as
the macro file, however, the folder will vary depending on who is using
the macro.

Is there some way to automatically reference this folder, without user
input, and set it as a string or something so I can use the folder path
name?


--
Edreams
------------------------------------------------------------------------
Edreams's Profile:
http://www.excelforum.com/member.php...o&userid=28391
View this thread: http://www.excelforum.com/showthread...hreadid=479821



Reply
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
Launching an XL file gives errors for each folder in path, then opens PCLIVE Excel Discussion (Misc queries) 2 December 26th 07 09:11 PM
use current file and folder name mohavv Excel Discussion (Misc queries) 1 December 19th 07 10:06 PM
Linked file in same folder but unknown path Christy Excel Programming 6 October 4th 05 06:30 PM
current toolbar file path? Elizabeth Excel Programming 2 August 20th 05 11:51 PM
path to current file... daschund Excel Programming 1 August 31st 04 11:45 PM


All times are GMT +1. The time now is 12:52 AM.

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

About Us

"It's about Microsoft Excel"