I'm writing the following code
The code does not execute after 2nd line. It deletes L2_LookupTable sheet and does not execute after that. I'm not getting any error. Then if I press F8 it starts the code from first line
VBA Code:
Application.displayalerts= false
Sheets("L2_LookupTable"). delete
Sheets ("L2_Open_Incidents").Name="L2_LookupTable"
Sheets.add after:=Sheets ("Buttons")
ActiveSheet.name="L2_Open_Incidents"
Sheets("Buttons"). activate
Application.displayalerts=True
The code does not execute after 2nd line. It deletes L2_LookupTable sheet and does not execute after that. I'm not getting any error. Then if I press F8 it starts the code from first line