Reputation: 61
I have a workbook where the client has set this code to run when it opens:
Public Sub workbook_open()
Me.RefreshAll
Me.Save
Application.Quit
End Sub
I need to delete this script but as the macros have been enabled I can't get into the workbook to remove it. Is there any way to stop the vba code from running or deleting it?
Upvotes: 2
Views: 131
Reputation: 815
As mentioned in a comment, if you hold down the shift key when you start Excel to open the workbook.
This disables macros, further hints are here.
Upvotes: 0
Reputation: 1149
Open another Excel sheet, Disable Macro Rules and then Try opening you Clients sheet.
Upvotes: 1