Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Macro to insert a hyperlink to external file

Hi,
I tried that but the macro stops at your line and highlights the word 'target'
Thanks for your help. Also some drawings have more than 1 sheet, can the
code be tweaked to get all the drawings and put them in H2, H3, H4 and so on?

Regards

paul

"BizMark" wrote:


I believe the line you are looking for to insert after:

WS.Range("H2").Value = WS.Range("H2").Value & " " & MyFileName

is:

WS.Hyperlinks.Add anchor:=WS.Range("H2"), target:= MyFileName

Regards,
Mark




--
BizMark

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 stored in an external workbook Tony Starr Excel Discussion (Misc queries) 1 November 14th 07 12:37 AM
Creating Macro to insert a hyperlink and then sort ... Mikey C Excel Discussion (Misc queries) 0 April 4th 07 04:58 PM
External hyperlink to a specific page in a workbook Nimbus55 Excel Worksheet Functions 2 July 31st 06 01:07 PM
Insert date modified of external file flaterp Excel Discussion (Misc queries) 1 October 26th 05 08:45 PM
Intra-workbook hyperlink: macro/function to return to hyperlink ce marika1981 Excel Discussion (Misc queries) 3 May 6th 05 05:47 AM


All times are GMT +1. The time now is 06:35 AM.

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"