B
Bill Foley
Hey Gang,
I am automating Outlook from a PowerPoint slide show and am running into a
problem. I posted a message on the Outlook VBA NewsGroup, but this might be
a simple Office thing. My problem is this - my code looks to see if Outlook
is open, and if it isn't, opens it, does it's stuff, sends a message, and
closes, sending you back to the PowerPoint slide show. However if Outlook
is open (uses GetObject instead of CreateObject), it still does it's stuff,
sends the message, but stays the active window.
I am either trying to minimize Outlook, close Outlook, or switch the active
window back to the PowerPoint slideshow. Any ideas on how to do this? I
would be more than happy to post applicable code if necessary.
TIA!
--
Bill Foley, Microsoft MVP (PowerPoint)
Microsoft Office Specialist Master Instructor
www.pttinc.com
Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/
"Success, something you measure when you are through succeeding."
I am automating Outlook from a PowerPoint slide show and am running into a
problem. I posted a message on the Outlook VBA NewsGroup, but this might be
a simple Office thing. My problem is this - my code looks to see if Outlook
is open, and if it isn't, opens it, does it's stuff, sends a message, and
closes, sending you back to the PowerPoint slide show. However if Outlook
is open (uses GetObject instead of CreateObject), it still does it's stuff,
sends the message, but stays the active window.
I am either trying to minimize Outlook, close Outlook, or switch the active
window back to the PowerPoint slideshow. Any ideas on how to do this? I
would be more than happy to post applicable code if necessary.
TIA!
--
Bill Foley, Microsoft MVP (PowerPoint)
Microsoft Office Specialist Master Instructor
www.pttinc.com
Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/
"Success, something you measure when you are through succeeding."