Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to bypass Excel error message
I have a macro that closes all files but everytime that I touch a file, the
Save file message from Excel appears. Is there a way I can bypass this error and force Excel to close the file without saving it? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to bypass Excel error message
You're closing the workbooks in code?
someworkbookvariable.close savechanges:=false 'or true??? matelot wrote: I have a macro that closes all files but everytime that I touch a file, the Save file message from Excel appears. Is there a way I can bypass this error and force Excel to close the file without saving it? Thanks -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to bypass Excel error message
Dave,
Thanks for the code. It worked exactly without Excel prompting the save textbox. "Dave Peterson" wrote: You're closing the workbooks in code? someworkbookvariable.close savechanges:=false 'or true??? matelot wrote: I have a macro that closes all files but everytime that I touch a file, the Save file message from Excel appears. Is there a way I can bypass this error and force Excel to close the file without saving it? Thanks -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Error Message | Excel Discussion (Misc queries) | |||
How do I bypass the message to save when closing a file by macro? | Excel Programming | |||
replace VBA run-time error message with custom message | Excel Programming | |||
Bypass the "Macros may contain viruses . . ." message | Excel Programming | |||
Excel XP error message Run Time Error 91 | Excel Programming |