Minimizing the Outlook Window in Code

R

Robert Jones

This is for Outlook 2000 and 2003

I can create an instance of outlook with

set gOutlookApp = CreateObject("Outlook.Application")

I can make the instance visible with

gOutlookApp.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Display

How can I now minimize the Outlook window?
 
S

Sue Mosher [MVP-Outlook]

gOutlookApp.ActiveExplorer.WindowState = olMinimized

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top