Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Changing AutoSave location programmatically

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Changing AutoSave location programmatically

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?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Changing AutoSave location programmatically

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
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
programmatically save new workbook with custom name & location Carlee Excel Programming 4 March 30th 07 05:50 PM
Excel 2003 autosave a changing file LeProf Excel Discussion (Misc queries) 2 January 18th 07 12:31 AM
autosave on changing worksheet gillmacca Excel Programming 0 June 14th 06 07:44 AM
Programmatically Set the Workgroup Templates location joe215 Excel Programming 2 November 10th 05 07:10 PM
Programmatically saving a workbook to a ftp location fails Lloyd Excel Programming 0 December 20th 04 09:17 PM


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