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!