Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Command works from debug but not normally
I'm a problem closing a workbook without saving it. I'm closing another
workbook, then the current workbook with the following code in Private Sub workbook_close(): Workbooks("real1.xls").Close False Me.Close False When I step through the code or run the code from the debug toolbar this works. But when I use File Exit or the X, it asks whether or not I want to save both files. I don't want to save either. What am I doing wrong? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Code only works in Debug mode. Why? | Excel Programming | |||
UDF Works in Debug Window but not on Sheet? | Excel Programming | |||
Works fine in debug, but... | Excel Programming | |||
Macro Works but not in Debug Step mode | Excel Programming | |||
Excel 2000 Code works except in debug mode | Excel Programming |