Open Adobe Reader / Acrobat through access

mattpfc

Active Member
Joined
Nov 21, 2002
Messages
299
Just a quick question really, how could I open Adobe Reader / Acrobat in access. I am using the following coge to open excel but am not sure how to open the Adobe application.


Set oApp = CreateObject("Excel.Application")


thanx in advance
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
This will shell out to run your application...
Code:
Call Shell("C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.EXE", 1)

If you want to pause code execution to wait until your user has finished with some action, take a look at MS KB Article # 209876 - HOW TO: Determine When a Shelled Process Ends in Access 2000

HTH,
CT
 
Upvote 0

Forum statistics

Threads
1,221,675
Messages
6,161,216
Members
451,691
Latest member
fjaimes042510

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top