Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Closing the save changes box

This closes the workbook and discards any changes

Thisworkbook.close saveChanges:=False


CrazySultana wrote in message ...
Hello :)

I have written a macro that opens up a file (1), changes a few things and copies the data to an already open file.
The macro then proceeds to close file 1, and the save changes dialogue box pops up. How can I make my code automatically select no or prevent that box from popping up?

Thanks for any help

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
Excelfile wants to save before closing Carlo Excel Discussion (Misc queries) 5 February 2nd 07 11:01 AM
Closing but doesn't ask to save TJAC Excel Discussion (Misc queries) 1 November 2nd 06 09:31 PM
Auto Save on closing AJM1949 Excel Discussion (Misc queries) 3 September 21st 05 10:03 AM
How do I set the worksheet to save before closing? kodaco Excel Discussion (Misc queries) 1 July 6th 05 06:40 AM
Closing the save changes box John Wilson Excel Programming 0 January 9th 04 04:13 PM


All times are GMT +1. The time now is 07:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"