You are on page 1of 1

Sub listsheets()

'macro will list the sheet names in the current workbook


'starting at the current cell
'and create hyperlinks to them

For Each s In Sheets


ActiveCell.Formula = "=Hyperlink(""#'" & s.Name & "'!A1"",""" & s.Name & """)"
ActiveCell.Offset(1, 0).Activate
Next s

End Sub

You might also like