Shell command and return focus to Access (1 Viewer)

asid

Registered User.
Local time
Today, 14:44
Joined
Jan 25, 2006
Messages
22
Hi

How can you return focus to the Access application (parent) after executing the shell command?
E.g., I use Shell to open a pdf file, I require the focus to be on the access form not the PDF? Thanks
 

aqif

Registered User.
Local time
Today, 03:44
Joined
Jul 9, 2001
Messages
158
How about if you try

Shell("Application Path",vbNormalNoFocus )
 

asid

Registered User.
Local time
Today, 14:44
Joined
Jan 25, 2006
Messages
22
Thanks, tried this but did not work, the pdf still has the focus?
 

Users who are viewing this thread

Top Bottom