S
S Jackson
Dan:
In your post below you stated:
The TaskItem object is created by your Outlook Application variable so you
don't have to worry about that one.
Here is a portion of my code:
Dim objOutlook As Object
Dim objTask As Object
Set objOutlook = CreateObject("Outlook.Application")
Set objTask = objOutlook.CreateItem(olTaskItem)
With objTaskItem
.Subject = Me.CaseName & " / DHS No. " & Me.DHSNo
.DueDate = Me.TcklDate
.Body = Me.Event
.ReminderSet = True
.Save
End With
I am getting the following error: Error 424 Object Required
I figured out by commenting out different lines of the code one-at-a-time
that this error occurs when the With statement is executed. Does this mean
that I have to declare the TaskItem as Object? If I do that, what is the
"Set" statement?
Sorry, pretty lost here, but I'm slowly figuring this out.
TIA
S. Jackson
In your post below you stated:
The TaskItem object is created by your Outlook Application variable so you
don't have to worry about that one.
Here is a portion of my code:
Dim objOutlook As Object
Dim objTask As Object
Set objOutlook = CreateObject("Outlook.Application")
Set objTask = objOutlook.CreateItem(olTaskItem)
With objTaskItem
.Subject = Me.CaseName & " / DHS No. " & Me.DHSNo
.DueDate = Me.TcklDate
.Body = Me.Event
.ReminderSet = True
.Save
End With
I am getting the following error: Error 424 Object Required
I figured out by commenting out different lines of the code one-at-a-time
that this error occurs when the With statement is executed. Does this mean
that I have to declare the TaskItem as Object? If I do that, what is the
"Set" statement?
Sorry, pretty lost here, but I'm slowly figuring this out.
TIA
S. Jackson