Hello,
Any help would be greatly appreciated! Trying to delete a named range when the workbook opens.
....
Application.Goto Reference:="Clienti_Clear_Range" '(name for range A8:K900
Selection.ClearFormats
Selection.ClearContents
....
I tried this:
Private Sub Workbook_Open()
'Updated by Extendoffice 20190712
Application.EnableEvents = False
Worksheets("Clienti").Range("A8:K900").Value = ""
Application.EnableEvents = True
End Sub
It does work from within the open worklbook but not when the worksheet opens ...
Thank you!,
Gelu
Any help would be greatly appreciated! Trying to delete a named range when the workbook opens.
....
Application.Goto Reference:="Clienti_Clear_Range" '(name for range A8:K900
Selection.ClearFormats
Selection.ClearContents
....
I tried this:
Private Sub Workbook_Open()
'Updated by Extendoffice 20190712
Application.EnableEvents = False
Worksheets("Clienti").Range("A8:K900").Value = ""
Application.EnableEvents = True
End Sub
It does work from within the open worklbook but not when the worksheet opens ...
Thank you!,
Gelu