Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an Excel file that opens up other files to
retreive info. Once the info is copied the files were to be closed using the .close method. I could not figure out why they wouldn't close. When I stepped through the VBA code the files would close, but not when the code was running by itself. I knew the files that I wanted to close contained code in the beforeclose event. Once I removed this code, the files closed as directed. Is there a way around this? I've changed the files so they no longer require code in the beforeclose event, but I would like to know if this is a bug or if I have to add something to allow code to be added to the beforeclose event. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting "Save As" adds "Copy of" to file name- MS Excel 2007 | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Lost "File Menu" - now it's "Edit / View / Insert.." but no "F | Excel Discussion (Misc queries) | |||
Disable "Save" &/or "Close" | Excel Programming | |||
How can I get "File Close" to prompt me to "Save Changes" ?? | Excel Programming |