PC Review


Reply
Thread Tools Rate Thread

Auto hyperlink between sheets by same number - maybe macro?

 
 
AustinReports
Guest
Posts: n/a
 
      14th Jul 2008
I am working on a report that has two worksheets. The two worksheets often
share a common number per line and I am working on linking the second sheet
to the first sheet by this common number. I have been manually adding the
hyperlinks, but each month the number of lines grows and it takes me longer
and longer to enter the hyperlinks. I am needing a macro or some way to have
excel automatically link those numbers in sheet two with the ones that match
in sheet one to save me lots of time (and possible errors).
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      14th Jul 2008
One play using formulas ..

Illustrated in this sample from my archives:
http://savefile.com/files/1068062
Hyperlink matching name in another sht.xls

Construct:
In contact master,
Assuming names listed in A2:A10
In B2:
=IF(A2="","",IF(ISNA(MATCH(A2,'master
schedule'!A:A,0)),"",HYPERLINK("#"&CELL("address",INDIRECT("'master
schedule'!A"&MATCH(A2,'master schedule'!A:A,0))),A2)))
Copy B2 down to B10. The above creates hyperlinks in col B
which jumps to the matched name in master schedule's col A.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:15,700 Files:353 Subscribers:53
xdemechanik
---
"AustinReports" wrote:
> I am working on a report that has two worksheets. The two worksheets often
> share a common number per line and I am working on linking the second sheet
> to the first sheet by this common number. I have been manually adding the
> hyperlinks, but each month the number of lines grows and it takes me longer
> and longer to enter the hyperlinks. I am needing a macro or some way to have
> excel automatically link those numbers in sheet two with the ones that match
> in sheet one to save me lots of time (and possible errors).

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a macro - auto populate sheets... =?Utf-8?B?ZHJpbGxlcg==?= Microsoft Excel Misc 4 5th Jul 2007 09:54 PM
auto hyperlink between many sheets? gab2409 Microsoft Excel Misc 4 9th Jun 2006 10:34 PM
Using a macro over a number of sheets (Redux) Dominique Feteau Microsoft Excel Programming 3 2nd Sep 2004 01:13 AM
Using a macro over a number of sheets Dominique Feteau Microsoft Excel Programming 7 1st Sep 2004 06:20 PM
macro visibility in auto loaded macro sheets? =?Utf-8?B?Z2hvc3RXb2xm?= Microsoft Excel Misc 1 29th Jun 2004 08:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:37 PM.