Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
add a toolbar icon in Word that opens up a particular PDF document
Hi,
I am wanting to add a toolbar icon in Word 97 that opens a particular pdf document in Adobe Reader? Any help would be great. Thanks |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
add a toolbar icon in Word that opens up a particular PDF document
I can't see the point of this personally, but add the following macro to a
toolbar button Sub OpenMyPDF() Dim RetVal Dim fName As String Dim appName As String appName = "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\Acrobat.exe" fName = "D:\Path\Filename.pdf" RetVal = Shell(appName & Chr$(32) & fName, 1) End Sub http://www.gmayor.com/installing_macro.htm Change the line fName = to that of the path and filename of the PDF file and Change appName= to reflect the path and filename of your Abode Reader. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org kyle''s wrote: Hi, I am wanting to add a toolbar icon in Word 97 that opens a particular pdf document in Adobe Reader? Any help would be great. Thanks |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
add a toolbar icon in Word that opens up a particular PDF docu
Thank you so much, you help is greatly appreciated!
"Graham Mayor" wrote: I can't see the point of this personally, but add the following macro to a toolbar button Sub OpenMyPDF() Dim RetVal Dim fName As String Dim appName As String appName = "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\Acrobat.exe" fName = "D:\Path\Filename.pdf" RetVal = Shell(appName & Chr$(32) & fName, 1) End Sub http://www.gmayor.com/installing_macro.htm Change the line fName = to that of the path and filename of the PDF file and Change appName= to reflect the path and filename of your Abode Reader. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org kyle''s wrote: Hi, I am wanting to add a toolbar icon in Word 97 that opens a particular pdf document in Adobe Reader? Any help would be great. Thanks |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
File | New Toolbar Icon - Word 2003 | New Users | |||
Place envelope icon on Word toolbar | Microsoft Word Help | |||
Place Envelope icon on Word Toolbar | Microsoft Word Help | |||
Word toolbar in IE 6 email icon unavailable | Microsoft Word Help | |||
Adobe PDF icon on Toolbar within Word | Microsoft Word Help |