LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Unexpected file change

I have a .xls file, opened by Excel 2003.
When I open it, either by clicking it, or from a shortcut, or by opening
it from Excel, or even in safe mode, it is changed and I get "Do you
want to save the changes you made to 'X.xls'?" I can open other files
without changing them.

I have a workaround.

Public Sub auto_open()
ActiveWorkbook.Saved = True
End Sub

I would like to know what sets ActiveWorkbook.Saved = False before
auto_open is run.

On a second 2003 installation, I see the same behaviour.
I also see it in 2010. ;)
--
Walter Briscoe
 
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
Unexpected change in "arrow keys" wjamescan Excel Discussion (Misc queries) 1 March 15th 10 04:59 PM
unexpected file lock by user Chethan Excel Worksheet Functions 1 February 19th 10 12:44 PM
Unexpected message when first opening this 2007 Excel file Jugglertwo Excel Discussion (Misc queries) 1 November 12th 08 07:31 PM
"unexpected file lock by . " error MCM1009 Excel Discussion (Misc queries) 0 August 25th 05 12:12 AM
Unexpected error message on closing an Excel file KG Excel Discussion (Misc queries) 1 March 21st 05 02:39 PM


All times are GMT +1. The time now is 08:57 AM.

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"