Hi,
I've had this code working for over 3 years now:
But today it is no longer working.
On my PC my excel version is:
and the code no longer works.
But on my laptop I have a slightly older version of excel (Version 2302 Build 16130.20868) and it works fine.
I am guessing the update has broken something or it has changed somehow.
Is there a few way to ignore errors in a certain part of a spreadsheet?
Thanks in advance
I've had this code working for over 3 years now:
VBA Code:
' Ignore Errors when Worksheet Activated
Private Sub Worksheet_Activate()
Dim r As Range: Set r = Range("A2:AQ200")
Dim cel As Range
For Each cel In r
With cel
.Errors(8).Ignore = True 'Data Validation Error
.Errors(9).Ignore = True 'Inconsistent Error
.Errors(6).Ignore = True 'Lock Error
End With
Next cel
End Sub
But today it is no longer working.
On my PC my excel version is:
and the code no longer works.
But on my laptop I have a slightly older version of excel (Version 2302 Build 16130.20868) and it works fine.
I am guessing the update has broken something or it has changed somehow.
Is there a few way to ignore errors in a certain part of a spreadsheet?
Thanks in advance