Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default custom toolbar item to use hyperlink to open word file

Thank you!

"Gary''s Student" wrote:

Something like:

Sub runword()
Dim s As String
s = "file:///c:\x.doc"
ActiveWorkbook.FollowHyperlink Address:=s
End Sub

will execute a hyperlink to a Word document. Just assign this macro to your
button.
--
Gary''s Student - gsnu200717


"Sally M" wrote:

I have created a custom toolbar in Excel 2003 which opens instead of the
standard toolbar when I open a particular workbook. On one of the worksheets
in the workbook, I have a button that is associated with a hyperlink to a
Word file. I would like to put a button on the toolbar that will run a macro
to choose that hyperlink, rather than going to the button in the worksheet.
I've tried to record a macro to choose the worksheet button, but it doesn't
work. . . maybe because it requires a link to Word? So my question is: Is
there a way to assign a button on a customized toolbar that will create a
hyperlink a Word document?
Thanks

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
Hyperlink to open Word File Curt Excel Discussion (Misc queries) 7 January 14th 07 12:47 PM
Excel Hyperlink doesn't open Word doc the same way as Word does duugg Excel Discussion (Misc queries) 2 October 12th 06 03:14 PM
menu / toobar item for open file by name nastech Excel Discussion (Misc queries) 2 July 14th 06 02:25 AM
Hyperlink in Excel 2000 can't open bookmarked Word 2000 file DCheslock Excel Discussion (Misc queries) 1 May 5th 05 10:46 PM
file open via IE hyperlink causes already open files to shrink and tile Marc Setting up and Configuration of Excel 0 May 4th 05 08:13 PM


All times are GMT +1. The time now is 03:18 PM.

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

About Us

"It's about Microsoft Excel"