Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Automatically update external workbook file path in macro

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,
Razor
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
how do i lock the external file (link) path so that it does not ch Setagaya Japan[_2_] Excel Discussion (Misc queries) 0 February 9th 09 05:47 AM
External workbook links don't update when source file changes Lori Lynn Excel Worksheet Functions 1 November 19th 08 06:14 PM
Excel 2007 macro gets workbook name and path from temp file BothFeet Excel Programming 4 June 14th 08 09:05 PM
referencing to external name range that would update automatically Chris Excel Programming 1 January 20th 08 03:41 PM


All times are GMT +1. The time now is 11:10 PM.

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"