CODE
Exit_Sub: On Error Resume Next
Set OutlookApp = Nothing
Set objOLNamespace = Nothing
Set objOLTask = Nothing
Set OutlookTask = Nothing
Set OutlookPattern = Nothing
Set outItem = Nothing
DoCmd.SetWarnings True
Exit Function
Err_Ctrl:
DoCmd.Hourglass False
errMsgStr = ""
ctrlfnctnm = "CreateOutlookTasks"
Call Utilities_err(Err.Number, Err.DESCRIPTION, Err.Source, ctrlfnctnm, errMsgStr)
Resume Exit_Sub
The unhandled error stops the code on the following line:
Call Utilities_err(Err.Number, Err.DESCRIPTION, Err.Source, ctrlfnctnm, errMsgStr)
Sorry about the way the code looks. I just can't seem to get the blank lines to show up in the post even though they are there when I create the post.
How can I "handle" this error.
Thanks.