ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hyperlink question (https://www.excelbanter.com/excel-programming/272128-hyperlink-question.html)

xnman

Hyperlink question
 
Is there a way to set a hyperlink in a cell of workbook1 pointing to a
specific cell in workbook2 so that when you click on the cell you see what
is in the specific cell in workbook2?
--




Tom Ogilvy

Hyperlink question
 
Yes, but you will be in workbook2, not just see what is in the cell.

Do insert=Hyperlink,
in the dialog, in the top box, hit browse and select you workbook

Click in the bottom box and click browse, then select sheet and reference
(cell address)

for example (from the immediate window)

? activecell.Hyperlinks(1).Address
C:\Data\aa_dateposition.xls
? activeCell.hyperlinks(1).SubAddress
Sheet2!B9


Regards,
Tom Ogilvy



xnman wrote in message
...
Is there a way to set a hyperlink in a cell of workbook1 pointing to a
specific cell in workbook2 so that when you click on the cell you see what
is in the specific cell in workbook2?
--







All times are GMT +1. The time now is 02:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com