Link to home
Start Free TrialLog in
Avatar of reneleisibach
reneleisibachFlag for Switzerland

asked on

Start Outlook with VBA, if/when started, then make it active

How can Outlook be started with Access-VBA code. If the program is already started then I would like to make it active (put the program as active window).

In advance thank you for your help.

reneleisibach
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just found that this line is not necessary:

outlookApp.Explorers.Item(1).Display '<< remove this from above sample.


hope this helps, cheers
Avatar of reneleisibach

ASKER

Both solutions work very well.

Thank you both

reneleisibach