Gets the most recent error for this object.
obj.GetError() where obj is an OpScrUtil.EventLog object
None.
String.
To get an error after a function fails, enter:
Set obj = CreateObject("OpScrUtil.EventLog") If Not(obj.ClearEventLog()) Then MsgBox "ClearEventLog Failed. The error is " & obj.GetError() End If