chuckcoleman
Registered User.
- Local time
- Today, 17:06
- Joined
- Aug 20, 2010
- Messages
- 363
Hi, I have code that works well from an Access form that takes the data I want and creates a new Outlook email message. The problem I'm having is when the new email message is created, it stays behind Access. Although Windows has a flashing icon on the task bar, it's easy to overlook. What I'm trying to do is to force the newly created email message to show up on top of the Access form. The code I use that pertains to this discussion is below:
.Attachments.Add strHyperlinkFile
.Display
oApp.ActiveWindow.Activate
End With
Set oEmail = Nothing
Set oApp = Nothing
I know the .Display displays the message vs .Send that just sends it out. How do I get the message to display on top of Access?
Thanks,
Chuck
.Attachments.Add strHyperlinkFile
.Display
oApp.ActiveWindow.Activate
End With
Set oEmail = Nothing
Set oApp = Nothing
I know the .Display displays the message vs .Send that just sends it out. How do I get the message to display on top of Access?
Thanks,
Chuck