Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

need help with hyperlinks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Newman - 23 Jan 2006 15:47 GMT
I am trying to programmaticaly create a list of hyperlinks on a single
page to particular cells on another sheet in a different workbook. So
far I have been blocked at every turn. I keep getting "Reference is not
valid" errors.

I've been trying to find the "complete" syntax for creating hyperlinks.
I've googled for anwsers, checked the msdn site, and so far have come up
with nothing other than incomplete examples.

At this point I don't care whether I implement this as a formula using
"=hyperlink()" or as an object ".hyperlinks.add()".

Can anyone provide a link to complete docs or an example of how to link
to workbook::worksheet::cell?

Thanks in advance.

cn

Signature

Chris Newman

Tom Ogilvy - 23 Jan 2006 16:15 GMT
for the hyperlink worksheet function, there are examples in the help.

for a hard coded hyperlink, turn on the macro recorder and then put in the
hyperlink manually.  turn off the macro recorder and look at the recorded
code:

This is what i recorded:

   ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:=
_
       "Sheet3!B9", TextToDisplay:="Jacks cell"

Signature

Regards,
Tom Ogilvy

> I am trying to programmaticaly create a list of hyperlinks on a single
> page to particular cells on another sheet in a different workbook. So
[quoted text clipped - 14 lines]
>
> cn
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.