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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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
Back
Top