View Single Post
  #2  
Old October 20th 07, 08:57 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Getting Outlook out of the tray

Have you tried ActiveExplorer.WindowState = olMaximized?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"derobins" wrote in message oups.com...
Hi,

I have no problem getting Outlook into the tray with
Outlook.ActiveWindow.WindowState = olMinimized

But how can I maximize from this state? olMaximized produces me an
error...

Thx!

Ads