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: 1,560
Default Setting a defaut path in a Macro

I send out an excel file to about 150 locations that contains a macro for
posting bonus information to a second excel file. Because I cannot control
the location where this second file is placed, I currently have the user
"search" (just like when you open or save as a file) for the file when the
macro is started.
What I would prefer to do is have the user search for the file the first
time, and once they find it and click on the file to open, have the macro
save the path so that in the future, the macro will automatically know where
to find the file and open it without the user having to do anything.
Of course, I will need something should the user move the file or need to
change the file (it will change annually) that will ask if they want to
search for another file and make it the default file.
Any help would be appreciated!
 
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
Setting a path to a folder Boots Excel Discussion (Misc queries) 2 August 10th 06 02:14 PM
Setiiing up file name & path as a default setting on all sheets/ta Paul Canal Excel Discussion (Misc queries) 3 March 31st 06 01:07 PM
WhatsThisHelp in VBA - setting the help file path programmatically seisman Excel Programming 2 July 29th 05 03:06 PM
change defaut workbook font color Ak_Deeg Excel Discussion (Misc queries) 1 February 13th 05 01:43 PM
Setting the Help 4.0 file name and path in a locked project Tony C[_3_] Excel Programming 5 November 13th 04 04:15 PM


All times are GMT +1. The time now is 10:44 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"