Hyper link to multiple tabs

bgonen

Active Member
Joined
Oct 24, 2009
Messages
264
I'm trying to create links to multiple tabs starting at cell F110 on the tab:SUMMARY
I get stuck at the blue command

Sub IDX()
Dim ws As Worksheet, i As Integer
For Each ws In ThisWorkbook.Worksheets
If ws.Name <> "SUMMARY" Then
i = i + 110
Sheets("SUMMAR").Range("F" & i).Value = ws.Name
Sheets("SUMMARY").Hyperlinks.Add Anchor:=Range("F" & i), Address:="", SubAddress:="'" & ws.Name & "'!F110", TextToDisplay:=ws.Name
End If
Next ws
Sheets("SUMMARY").Columns("F").AutoFit
End Sub
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I think you just have a typo

Rich (BB code):
Sheets("SUMMARY").Range("F" & i).Value = ws.Name
 
Upvote 0
Thanks Peter
Most of the code I got from one of your previous replies,,, I can't even "Steal" right,,:),,,shame on me,,

For some reason, the code only pull one Tab (I have approx 9 more tabs)
 
Upvote 0
That should work. Have you tried scrolling down a long way (you are adding 110 rows between each entry).
 
Upvote 0
I changed the spaces ,,, finally I understand ,,,i+1
Right now the list of sheets starts at F1 and I try to start from a different place (F10 for example),,can you help me?
 
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,408
Members
452,912
Latest member
alicemil

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