PC Review


Reply
Thread Tools Rate Thread

Automatically update external workbook file path in macro

 
 
Razorboy
Guest
Posts: n/a
 
      24th Feb 2009
Hi,

I have a problem that may not be solvable, but hey it's always worth
posting to find out...


I have a macro that runs to copy data out of one book and opens
another workbook ('Flat Files.xls') and pastes in the specified
sheet. The macro works fine, but my office are currently looking at
restructuring our shared drive and renaming folders. The file name
that the macro is set to open ('Flat Files.xls') will not change but
the folder where this will sit is likely to change more than once.


As the macro is currently in a single template but will be used
across
a number of workbooks i want to know if there is some code that will
search for the 'Flat Files.xls' workbook automatically? Anyone have
any ideas?


Cheers,
Paul

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically update external workbook file path in macro Razorboy Microsoft Excel Programming 0 16th Feb 2009 09:57 AM
External workbook links don't update when source file changes Lori Lynn Microsoft Excel Worksheet Functions 1 19th Nov 2008 06:14 PM
Excel 2007 macro gets workbook name and path from temp file BothFeet Microsoft Excel Programming 4 14th Jun 2008 09:05 PM
Automatically Update Workbook Links as part of AutoOpen Macro? dim Microsoft Excel Programming 5 24th Dec 2007 01:29 PM
How prevent formulas to get external references/path to current workbook? Gunnar Johansson Microsoft Excel Worksheet Functions 1 15th Aug 2005 10:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:31 PM.