Hyperlink

Ben_UK

Board Regular
Joined
Feb 19, 2003
Messages
206
Hiya Board,

I have a hyperlink on on sheet A in workbook 1
....the hyperlink takes you to workbook 2

There are 10 sheets in workbook 2 (1 - 10)

I want the hyperlink to always go to sheet 1 when it opens the workbook,

How do I achieve this?

I have also tried using a command button instead of a hyperlink


Code:
Private Sub Workbook_Open ()

Worksheets ("1").Activate

End Sub

I know I am making a silly mistake somewhere!

Any help would be appreciated,

Kind Regards
Ben.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Mudface

MrExcel MVP
Joined
Feb 18, 2002
Messages
3,339
In Excel 2002 on the Insert Hyperlink dialog, click on Bookmark or the 'Place in this Document' link button on the left and select the sheet.

In Excel 97, first browse for the workbook, then click on the second browse button to choose the sheet.

Not sure about Excel 2000...
 
Upvote 0

Forum statistics

Threads
1,186,362
Messages
5,957,410
Members
438,304
Latest member
duck90

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top