Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Recovering from temporary loss of network drive - Excel VBA problem


Thanks Dave for your last suggestions,

I've been off sick the last couple of days. However, I had a chance t
try your .saveAs suggestion and I'm afraid I cannot save the file t
the network or anywhere on the local drive, even when the network i
available again. Nor is the file in the Temp folder.

However, I think that I can open another file on the local drive an
copy/paste the data to that. So I am thinking of writing code to d
this and then shut down all the files on the network without savin
them. I also thought that this code could be inserted in a BeforeSav
sub in the file's workbook.

A second macro could later restore this rescued data to the main fil
when the network is available again.

I take your point about the Autosave idea. Sometimes I wondered if
have any marbles left! Thanks for the link anyway.

I will let you know how this goes when I get back to work on Monday. O
course if you should have any other ideas........

Thanks again
Pau

--
Paul
-----------------------------------------------------------------------
PaulC's Profile: http://www.excelforum.com/member.php...nfo&userid=756
View this thread: http://www.excelforum.com/showthread.php?threadid=27618

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Recovering from temporary loss of network drive - Excel VBA problem

There's a .savecopyas that will create a copy of the workbook.

Maybe you could do something with that. (But I don't have any idea what!)

PaulC wrote:

Thanks Dave for your last suggestions,

I've been off sick the last couple of days. However, I had a chance to
try your .saveAs suggestion and I'm afraid I cannot save the file to
the network or anywhere on the local drive, even when the network is
available again. Nor is the file in the Temp folder.

However, I think that I can open another file on the local drive and
copy/paste the data to that. So I am thinking of writing code to do
this and then shut down all the files on the network without saving
them. I also thought that this code could be inserted in a BeforeSave
sub in the file's workbook.

A second macro could later restore this rescued data to the main file
when the network is available again.

I take your point about the Autosave idea. Sometimes I wondered if I
have any marbles left! Thanks for the link anyway.

I will let you know how this goes when I get back to work on Monday. Of
course if you should have any other ideas........

Thanks again
Paul

--
PaulC
------------------------------------------------------------------------
PaulC's Profile: http://www.excelforum.com/member.php...fo&userid=7563
View this thread: http://www.excelforum.com/showthread...hreadid=276187


--

Dave Peterson
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
Excel 2003 temporary files remains on network shares Kenny Excel Discussion (Misc queries) 4 December 3rd 08 11:05 PM
Excel 2003 - problem saving to a mapped network drive Chris Excel Discussion (Misc queries) 1 October 17th 05 05:57 PM
Link workbooks-C drive to network drive Earl Excel Worksheet Functions 0 April 19th 05 05:50 PM
Recovering from temporary loss of network drive - Excel VBA problem PaulC Excel Programming 1 November 10th 04 12:04 AM
Recovering from temporary loss of network drive - Excel VBA problem Dave Peterson[_4_] Excel Programming 0 November 9th 04 01:22 AM


All times are GMT +1. The time now is 03:11 AM.

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"