Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-23-2023, 04:43 AM
Ddadoo57 Ddadoo57 is offline Does anyone have a solution for displaying the generated email in the foreground? Windows 11 Does anyone have a solution for displaying the generated email in the foreground? Office 2021
Advanced Beginner
Does anyone have a solution for displaying the generated email in the foreground?
 
Join Date: Feb 2023
Posts: 90
Ddadoo57 is on a distinguished road
Default Does anyone have a solution for displaying the generated email in the foreground?

Hello everyone,

I have a Word VBA function that creates predefined emails with attachments.
Here are the main lines of the code:

...
Dim OutlookApp As Outlook.Application
Set OutlookApp = CreateObject("Outlook.Application")


...
Set fileDialog = Application.fileDialog(msoFileDialogFilePicker)
...
OutlookApp.Display
OutlookApp.ActiveInspector.Activate
...


My question: the generated email often remains in the taskbar, instead of being displayed large in the foreground, as it does when Outlook is or has been run at least once. The user doesn't always have the reflex to look in the taskbar to display the email, which causes confusion.

Does anyone have a solution for displaying the generated email in the foreground?

Best regards,
David
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Focus a new Document and bring it in the foreground f__s Word VBA 0 04-27-2020 03:36 PM
Email Displaying Duplicates camilleislife Outlook 0 06-12-2017 12:14 PM
Does anyone have a solution for displaying the generated email in the foreground? how to keep a presentation allways on the foreground kuyperlu PowerPoint 1 06-22-2016 06:23 AM
How do I add a CC to an externally generated Email ? vodkasoda Outlook 8 01-26-2016 02:50 PM
email solution for Excel 2003 Kat Excel 0 06-29-2010 04:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft