RunTime Error 5

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Back
Top