Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Run-time error '1004'; Document not saved - intermittent

ChDir "directory$\Phones\Telephone Directories\MASTER"
Application.ActiveWorkbook.SaveAs Filename:= _
"directory$\Phones\Telephone
Directories\MASTER\LatestContactList.xls", FileFormat:= _
1, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False _
, CreateBackup:=False

This coded only works about 1 out of 10 tries. The other 9 times it gives
the error message in the subject. Any suggestions? Thanks.
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
Document Not Saved Error Otivexcel Excel Discussion (Misc queries) 9 March 8th 08 02:18 AM
Why do I get an error Document not Saved in Excel? Helena Excel Discussion (Misc queries) 1 February 6th 06 03:15 PM
Automation Error and Document not saved Dantz Excel Programming 1 September 22nd 05 09:38 AM
ERROR MESSAGE DOCUMENT NOT SAVED MoTo Excel Discussion (Misc queries) 3 April 13th 05 06:05 PM
VB OLE embeded excel document cannot be saved -err 1004 Darron Dorfman Excel Programming 0 April 3rd 04 12:01 PM


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