Set window focus for outlook

Microsoft Windows xp professional w/serv...
May 29, 2010 at 12:06:23
Specs: Windows XP Pro
This is my sub for opening outlook and using the sendkey method to add a signature into outlook. I have used a form to write the html page, which will be saved to C:/.

How do I get the focus to be set on the outlook window?

I've got the check for open and if not open, it will open. However, I have got to set focus now if the app was already open.

I neglected to mention - VB
I'm learning.

See More: Set window focus for outlook

Report •

May 29, 2010 at 13:47:54
OK, so here it goes -

appactivate("- Microsoft Outlook") will set focus on MO if open to any folder or task view. :)

Ah, the sweet success as I watch all those windows pop!

I'm learning.

Report •

May 29, 2010 at 16:19:25
OK, now it is not working. :-s I'll post code here soon

I'm learning.

Report •

Related Solutions

Ask Question