Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Updating hiden workbook

1. put a 3rd workbook (or better an xla) in the xlstart folder. I'll Call
this loader. put the file you want to load somewhere else so that it doesn't
auto load.
2. in the Loader, have an auto_open macro that checks the version of the
file you want to load (I'll call this X).
3. if X is not up to date, open X v2 from the network and save it over X
or If X is up to date, Open X
4. If you need to, run any start up macros in X by calling them from Loader.
5. Close Loader.

Robin Hammond
www.enhanceddatasystems.com

"AdmSteck" wrote in message
...
I have a workbook that is in the XLStart folder and loads every time excel
opens. I want to compare the version of this file on the local machine to
a
copy kept on a server and replace it with the server version if it is
newer.
I have the code to compare the two versions to work correctly, the problem
is updating. All macro execution stops as soon as I close the local copy
to
overwrite it. I have tried putting the update code in a 3rd workbook, but
this doesn't want to work either. If I put the code in the Auto_open() or
Workbook_Open() it does not get called when I open the workbook from code.
Also, if I open the workbook and



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
hiden cells copied automatically to another workbook, can I stop . Fred Excel Worksheet Functions 2 April 19th 10 08:40 AM
My workbook links are not updating (its 30,000 KB size workbook). rselena Excel Discussion (Misc queries) 1 August 14th 06 09:14 PM
Auto updating a workbook with data from another workbook Richard Excel Discussion (Misc queries) 0 November 6th 05 03:50 PM
Excel Workbook hiden when written to from Word John H[_4_] Excel Programming 4 January 28th 04 08:01 PM
Transparently updating another workbook from the current workbook lothario[_40_] Excel Programming 3 November 2nd 03 01:58 AM


All times are GMT +1. The time now is 02:08 PM.

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"