S
Steve Rindsberg
I'm automating Excel to retrieve data from worksheets.
When my code runs in Office 2007 and opens an XLS file in Excel, I get
this:
Do you want to save the changes to [FILENAME]? Microsoft Office Excel
recalculates forumlas when opening files last saved by an earlier
version of Excel
Emphatically not. My code opens the file READ-ONLY for just that
reason:
Set oXLWB = oXLApp.Workbooks.Open(sFilename, , True)
Haven't had a chance to see if SP2 corrects this but that's next on the
agenda.
But does anyone know if this is by design or a bug, and in either case,
is there another parameter to the .Open method that'd make it behave
more reasonably? Sort of a "Which part of READ-ONLY don't you
understand?" option. ;-)
TIA
When my code runs in Office 2007 and opens an XLS file in Excel, I get
this:
Do you want to save the changes to [FILENAME]? Microsoft Office Excel
recalculates forumlas when opening files last saved by an earlier
version of Excel
Emphatically not. My code opens the file READ-ONLY for just that
reason:
Set oXLWB = oXLApp.Workbooks.Open(sFilename, , True)
Haven't had a chance to see if SP2 corrects this but that's next on the
agenda.
But does anyone know if this is by design or a bug, and in either case,
is there another parameter to the .Open method that'd make it behave
more reasonably? Sort of a "Which part of READ-ONLY don't you
understand?" option. ;-)
TIA