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: 24
Default Prompted to save changes after macro save - why?

At the end of the marco I have written for Excel, I have
included code that allows the user to save the file that
has been created. But, after the user saves the file, the
macro ends, and the user goes to close the file that has
just been saved; a dialog box with an alert message
appears asking if you want to save the changes to the file.

If the user does not save the changes to the file(a second
save) then when the file is opened later Excel crashes.
This does not happen in all the macros that I have written
and I have been trying to figure out why it happens with
some but not others.

Does anyone know why this happens? How can I write my code
so that the save executed by the macro is enough?
 
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
No longer prompted to Save Bob Excel Discussion (Misc queries) 2 May 3rd 07 01:52 AM
Prompted to save hetherjw Excel Discussion (Misc queries) 5 October 27th 05 06:22 PM
Why am I prompted to save a file when nothing has changed? SimonD Excel Discussion (Misc queries) 2 April 29th 05 02:21 PM
Save as CSV without being prompted Tom Ogilvy Excel Programming 0 July 18th 03 12:05 AM
Save as CSV without being prompted Randall Arnold[_2_] Excel Programming 0 July 17th 03 10:36 PM


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