W
Ward Horsfall
Hi,
I am writing a vba macro to create a mail message automatically. So it
creates the mail item ok....
However how can I set focus to the Body part of the email?
e.g.
Set thisitem = appOL.CreateItem(olMailItem)
thisitem.SentOnBehalfOfName = "FooBar"
thisitem.subject = subject_line
thisitem.Body = IncidentBox.List(lookup, 4) + "," + vbCrLf + vbCrLf
thisitem.BCC = "FooBar1"
thisitem.Display
thisitem.Body.Control.SetFocus
Thanks
Ward.
I am writing a vba macro to create a mail message automatically. So it
creates the mail item ok....
However how can I set focus to the Body part of the email?
e.g.
Set thisitem = appOL.CreateItem(olMailItem)
thisitem.SentOnBehalfOfName = "FooBar"
thisitem.subject = subject_line
thisitem.Body = IncidentBox.List(lookup, 4) + "," + vbCrLf + vbCrLf
thisitem.BCC = "FooBar1"
thisitem.Display
thisitem.Body.Control.SetFocus
Thanks
Ward.