Reputation: 87
I stupidly put Application.Close
to run when WB is opening and now I can't get to my own file and code. What do I do?
Macro in ThisWorkbook:
Private Sub Workbook_Open()
Application.Close
End Sub
Upvotes: 1
Views: 44
Reputation: 382
Simply disable macros in Excel, open the file and erase the line :)
More information on disabling macros:
Upvotes: 2