Hyperlink two sheets in a Excel Workbook
Hi All,
I am trying to hyperlink two sheets on a common field "CODE". If the user clicks A2 in sheet1 it should go to A2 in sheet2 likewise A450 in sheet1 to A450 in sheet. There are like 500 records(rows) in sheet1 and 500 records(rows) in sheet2. Can anyone please help me in writing a macro. Thanks, Krishna |
Hyperlink two sheets in a Excel Workbook
=HYPERLINK("#Sheet2!A" & ROW(),"A" & ROW())
This will jump to Sheet2 column A in the same row as Sheet1 -- Gary''s Student - gsnu200745 "Krishna" wrote: Hi All, I am trying to hyperlink two sheets on a common field "CODE". If the user clicks A2 in sheet1 it should go to A2 in sheet2 likewise A450 in sheet1 to A450 in sheet. There are like 500 records(rows) in sheet1 and 500 records(rows) in sheet2. Can anyone please help me in writing a macro. Thanks, Krishna |
Hyperlink two sheets in a Excel Workbook
Gary--
Is your Hyperlink formula to be placed in Sheet1? If yes, then how does the Hyperlink function relate to the data in Sheet1? Is the Hyperlink functrion in the same cell as the data? Steve G |
Hyperlink two sheets in a Excel Workbook
Hi Gary,
I tried this and it is working for me. =HYPERLINK("#"&CELL("address",INDIRECT("'Sheet2'!C "&MATCH(E2,Sheet2!C:C,0))),INDIRECT("'Sheet2'!C"&M ATCH(E2,Sheet2!C:C,0))) Thanks, Krishna. "Steve G" wrote: Gary-- Is your Hyperlink formula to be placed in Sheet1? If yes, then how does the Hyperlink function relate to the data in Sheet1? Is the Hyperlink functrion in the same cell as the data? Steve G |
All times are GMT +1. The time now is 06:05 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com