Is there a way to create a command button on a form that can pull up .pdf
document? If so, does anyone know the code b/c I cannot find it in Microsoft
Help.
Albert D.Kallal - 29 Oct 2005 01:01 GMT
Just use:
application.FollowHyperlink "name of file"
eg:
application.FollowHyperlink "c:\my documents\test.doc"
application.FollowHyperlink "c:\my documents\test.pdf"
You can launch/open/display any file using the above syntax....

Signature
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal
MacDermott - 29 Oct 2005 01:16 GMT
I think you can do this using the Shell command.
> Is there a way to create a command button on a form that can pull up .pdf
> document? If so, does anyone know the code b/c I cannot find it in Microsoft
> Help.