Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Launching other apps

I'd like to launch a non office application (Adobe Reader)
and have it print a chosen document from a macro. I can
do this with DDE commands for microsoft apps, but not for
acrobat reader. Am I doing something wrong or is there
another method? All help appreciated.

Matt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Launching other apps

Hi Matt
for automating Adobe Acrobat you may have a look at
http://partners.adobe.com/asn/develo...ocs/iacref.pdf


--
Regards
Frank Kabel
Frankfurt, Germany

MattB wrote:
I'd like to launch a non office application (Adobe Reader)
and have it print a chosen document from a macro. I can
do this with DDE commands for microsoft apps, but not for
acrobat reader. Am I doing something wrong or is there
another method? All help appreciated.

Matt

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Launching other apps

Acrobat reader may not support DDE - I can't say, but I have done it using
the shell command and send keys.

From a previous post:

had luck using the Shell command:

Sub Tester2a()
Shell "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" & _
" c:\toc1\amcr37-4.pdf", 1
' the following prints the document
Application.SendKeys "^p~", False
End Sub

or if you have .pdf associated with acrobat reader:

Private Sub CommandButton1_Click()
Shell "Start.exe ""D:\My Documents\sm569_Jan2001\tute6.pdf"""
Application.SendKeys "^p~", False
End Sub




--
Regards,
Tom Ogilvy

"MattB" wrote in message
...
I'd like to launch a non office application (Adobe Reader)
and have it print a chosen document from a macro. I can
do this with DDE commands for microsoft apps, but not for
acrobat reader. Am I doing something wrong or is there
another method? All help appreciated.

Matt



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Alt-E hotkey does not work in MSOffice apps, no prob in other apps Bob Newheart Excel Discussion (Misc queries) 4 July 28th 08 03:57 PM
OLE switching <- Apps [email protected] Excel Programming 1 November 21st 03 02:44 PM
Handling Excel Apps? andy. Excel Programming 1 July 25th 03 04:51 AM
Linking to other VB apps Keith Willshaw Excel Programming 0 July 10th 03 02:58 PM
Linking to other VB apps Steve Andrews[_2_] Excel Programming 0 July 10th 03 02:25 PM


All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"