PC Review


Reply
Thread Tools Rate Thread

Changing AutoSave location programmatically

 
 
=?Utf-8?B?TWFyY290dGUgQQ==?=
Guest
Posts: n/a
 
      16th Nov 2007
We had a server crash. We replaced it with a new box. The old Autosave
location was:

\\<server name>\path.

Excel now can not find that location. When I go to Tool -> Options, and
click on any of the tabs, I get the error message, "Cannot access directory
"\\<server name>\path".

Is there a way I can turn off AutoSave or change the AutoSave path through
VBA?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyY290dGUgQQ==?=
Guest
Posts: n/a
 
      16th Nov 2007
A couple of clarifications:
I am using 2003, and am talking about the AutoRecovery feature (not
AutoSave). I would gladly give up AutoRecovery to regain access to my
Tools->Options dialogue box.

"Marcotte A" wrote:

> We had a server crash. We replaced it with a new box. The old Autosave
> location was:
>
> \\<server name>\path.
>
> Excel now can not find that location. When I go to Tool -> Options, and
> click on any of the tabs, I get the error message, "Cannot access directory
> "\\<server name>\path".
>
> Is there a way I can turn off AutoSave or change the AutoSave path through
> VBA?

 
Reply With Quote
 
=?Utf-8?B?TWFyY290dGUgQQ==?=
Guest
Posts: n/a
 
      16th Nov 2007
Solution:

Private Sub AutoRecoverPath()
Application.AutoRecover.Enabled = True
Application.AutoRecover.Path = "C:\"
End Sub

Interestingly, setting the path to "Z:\Marcotte\AutoSave" gave me a Run Time
Error 1004.

"Marcotte A" wrote:

> We had a server crash. We replaced it with a new box. The old Autosave
> location was:
>
> \\<server name>\path.
>
> Excel now can not find that location. When I go to Tool -> Options, and
> click on any of the tabs, I get the error message, "Cannot access directory
> "\\<server name>\path".
>
> Is there a way I can turn off AutoSave or change the AutoSave path through
> VBA?

 
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
Autosave Macro to specific file location sthayer Microsoft Excel Programming 0 7th Sep 2009 06:03 PM
Re: Excel 2003 autosave a changing file Gord Dibben Microsoft Excel Misc 0 18th Jan 2007 12:31 AM
autosave location loop =?Utf-8?B?TkR1YmU=?= Microsoft Excel Crashes 2 11th Oct 2006 11:05 PM
autosave on changing worksheet gillmacca Microsoft Excel Programming 0 14th Jun 2006 07:44 AM
Excel 97 AutoSave File Location ArPo Microsoft Excel Discussion 1 23rd Oct 2003 12:15 AM


Features
 

Advertising
 

Newsgroups
 


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