• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Create a "Home" button multiple sheets

Shay A

Member
Hi,
I have used this code to create a list of the worksheets included in the WB. I also created a hyperlink to each sheet. How can I insert a button on every sheet that will bring the users back to "Home Page"?


Option Explicit
Sub SheetNames()
Dim i As Integer
Application.ScreenUpdating = False
Columns(1).Insert
For i = 1 To Sheets.Count
Cells(i, 1) = Sheets(i).Name
Next i
Application.ScreenUpdating = False

End Sub
 

Attachments

  • tegthrth.xlsm
    10.9 KB · Views: 1
Ok, in the mean time I have this solution.
=HYPERLINK("#'"&"Home"&"'!A1","Home")
 

Attachments

  • tegthrth.xlsm
    11.4 KB · Views: 3
Back
Top