Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Replacing workbook with master copy

I have a workbook in the XLStart folder that loads every time excel
opens and a master copy of this file stored on a network drive. We'll call
the local copy Clientxx.xls and the master Serverxx.xls, where xx is the
version number. I want the client copy to compare itself to the master copy
and update if the master is newer.
I already have the code working to compare the versions working, but I
can't get the update code to work. I cannot update the file without closing
it, and all code execution stops once the file closes. I have tried using a
third file (update.xls) to get around the first problem, but the Auto_Open()
function never runs when the workbook is opened from code. I have also tried
calling Auto_Open() after the workbook is opened, but that code also stops as
soon as the calling workbook (Client.xls) is closed.
How can I update this file?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Replacing workbook with master copy

see my reply to your previous post

Robin Hammond
www.enhanceddatasystems.com

"AdmSteck" wrote in message
...
I have a workbook in the XLStart folder that loads every time excel
opens and a master copy of this file stored on a network drive. We'll
call
the local copy Clientxx.xls and the master Serverxx.xls, where xx is the
version number. I want the client copy to compare itself to the master
copy
and update if the master is newer.
I already have the code working to compare the versions working, but I
can't get the update code to work. I cannot update the file without
closing
it, and all code execution stops once the file closes. I have tried using
a
third file (update.xls) to get around the first problem, but the
Auto_Open()
function never runs when the workbook is opened from code. I have also
tried
calling Auto_Open() after the workbook is opened, but that code also stops
as
soon as the calling workbook (Client.xls) is closed.
How can I update this file?



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
Copy a master workbook (Excel 2003)? Kevin89 Excel Discussion (Misc queries) 5 June 17th 09 12:35 AM
Copy worksheet from one workbook to a master workbook mvannatta Excel Worksheet Functions 3 April 15th 09 08:32 PM
Open and copy all workbook sheets in a folder to a master file [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 04:29 PM
Linking Master Workbook & subordinate workbook Lucky_guy2000 Excel Discussion (Misc queries) 1 July 14th 06 10:43 PM
Multiple workbook user's with Master workbook - all password protected Yvon Excel Discussion (Misc queries) 2 March 30th 05 01:34 PM


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