LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Creating hyperlinks to network files

Ah, you're populating the cell in code.

You may want to change the D5 to R5C4 since you're using R1C1 reference style
(or just use .formula).

And if you have trouble, you may need to make it look more like:

Range("H9").Formula = _
"=HYPERLINK(""file:////G:/Real Estate/Shared/Offline Packages/""" & _
"&D5&""/PCR.PDF"",""PCR"")"

akronpow wrote:

The resulting hyperlink formula is:

=HYPERLINK("G:\Real Estate\Shared\Offline Packages\& D5
&\PCR.PDF","PCR")

and I need the "& D5 &" part to show the result of cell D5.

Here is the code as used:

Range("H9").FormulaR1C1 = _
"=HYPERLINK(""G:\Real Estate\Shared\Offline Packages\& D5
&\PCR.PDF"",""PCR"")"

--
akronpow
------------------------------------------------------------------------
akronpow's Profile: http://www.excelforum.com/member.php...o&userid=29100
View this thread: http://www.excelforum.com/showthread...hreadid=488213


--

Dave Peterson
 
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
Navigating to Excel files over network slow, but not Word files Newbie123 Excel Discussion (Misc queries) 1 December 2nd 09 01:18 PM
Network Files creating temporary files Dave Weastec Excel Discussion (Misc queries) 0 October 3rd 08 02:26 PM
Hyperlinks to files on network drivers Fornol New Users to Excel 3 February 22nd 06 11:10 PM
Hyperlinks to network files Tommc49 Excel Discussion (Misc queries) 0 June 25th 05 09:59 PM
Copying files ...Network to Network Eric[_6_] Excel Programming 2 July 18th 03 08:59 PM


All times are GMT +1. The time now is 02:03 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"