Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
RunTime Error 5
Why would this fail:
ActiveWindow.Close , savechanges:=False Even if I stick this line before it, I still get a runtime error 5: On Error Resume Next I just loaded the workbook, read some data and I want to close it without saving changes, but I am getting runtime error 5, invalid procedure call or argument. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
RunTime Error 5
use
ActiveWorkbook.Close SaveChanges:=False Regards Nigel "Mike H." wrote in message ... Why would this fail: ActiveWindow.Close , savechanges:=False Even if I stick this line before it, I still get a runtime error 5: On Error Resume Next I just loaded the workbook, read some data and I want to close it without saving changes, but I am getting runtime error 5, invalid procedure call or argument. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
runtime error '1004' application or object defined error | Excel Programming | |||
runtime error '1004' application or object defined error. Please help | Excel Programming | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
Syntax Error Runtime Error '424' Object Required | Excel Programming | |||
Unknown where is the problem on the Runtime error - Automation error | Excel Programming |