Hello,
I recently realized that none of the VBA "On Error" functions are working anymore.
Excel is managed through our company.
It is Microsoft Office 365 ProPlus. Version is 1908 (build 11929.20606 Click-to-run)
365 MSO (16.0.11929.20436) 32 bit
Here are two simple examples that are not working.
Sub OnErrorTest()
Dim i As Integer
'Both of these throw an error msg: "Unable to get the Find property of the WorksheetFunction class"
On Error Resume Next
i = Application.WorksheetFunction.Find("z", "Find text in a string", 1)
On Error GoTo 0
On Error GoTo Err
i = Application.WorksheetFunction.Find("z", "Find text in a string", 1)
On Error GoTo 0
Exit Sub
Err:
MsgBox "Error msg"
End Sub