Does anyone know a way that I can make Outlooks main screen visible through automation? I can do it for Word by setting the applications visible property to True. Heres the code that I use to make Word visible...
I have tried doing the same thing for Outlook but there is not a Visible property! Does anyone know what I should do?
Code:
Dim oWord As Word.ApplicationClass
oWord = CreateObject("Word.Application")
oWord.Visible = True
oWord.Activate()
I have tried doing the same thing for Outlook but there is not a Visible property! Does anyone know what I should do?