On Error Resume Next Class Login 'Login start Public sMethod Public Property Get Result Result = CheckPage And CheckImage And Login End Property Private Function CheckPage Me.sMethod = "CheckPage" MsgBox "CheckPage" CheckPage = True End Function Private Function CheckImage Me.sMethod = "CheckImage" CheckImage = False Browser("title:=Welcome.*").WebElement("text:=Relevant Codes").Click 'Error here! MsgBox "Error!" 'This will not execute CheckImage = True End Function Private Function Login Me.sMethod = "Login" Login = True MsgBox "Login" 'This will not execute= End Function End Class 'Login end Dim NewLogin : Set NewLogin = New Login Class LoginHandler 'LoginHandler start Public bResult Private Sub Class_Initialize Print "Entering Try.." & vbNewLine bResult = NewLogin.Result End Sub Private Sub CatchErr If Err.Number = 0 Then Exit Sub Print "Entering Catch.." Print "Error occured in: " & NewLogin.sMethod Print "Error: " & Err.Description & vbNewLine Err.Clear End Sub Private Sub Class_Terminate : CatchErr Print "Exiting.." End Sub End Class 'LoginHandler end Set NewLoginHandler = New LoginHandler Set NewLoginHandler = Nothing Set NewLogin = Nothing