Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Archive Attribute Excel 2003

Hi,

Chuckles123 wrote:
Occasionally, my macros crash. The most common problem involves the
data files. One data file is saved daily by the following code:


When you say "crash" - do you mean a true crash of Excel, or do you just get
a runtime error?

oWBook.SaveAs _
Filename:=strFileName, _
FileFormat:=xlNormal, _
Password:="", _
WriteResPassword:="", _
ReadOnlyRecommended:=False, _
CreateBackup:=False

The other data file is saved merely by: oWBook.Save.

I am assuming that the above code will always result in the 'Archive'
Attribute being "checked", regardless whether there was a "check-mark"
prior to the save command.


I believe the saved file will always have the Archive atrribute set, but
you'd have to test to verify.

I am also assuming that whether there is such a "check-mark" would
have zero impact on any of my macro crashes.


Right.

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]


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 common attribute list kiteboy Excel Discussion (Misc queries) 2 April 28th 08 07:50 PM
Keep schemaLocation attribute when saving to XML data from Excel Erik Braten Excel Discussion (Misc queries) 0 May 4th 07 04:35 PM
Caption attribute at Cell in Excel XML dob_xml Excel Discussion (Misc queries) 0 November 27th 06 12:05 PM
How do I change the default attribute in excel? worken Excel Discussion (Misc queries) 2 January 31st 06 01:56 AM
the attribute "nullable" is not supported in convert excel to xml Guttjung Excel Discussion (Misc queries) 0 June 27th 05 10:35 AM


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