How To Create hyperlinked sheet list in Excel VBA?
Tags: tocreatehyperlinkeds, vbamacros
Published: 2021-09-29 09:27:56

---
title: How To Create hyperlinked sheet list in Excel VBA?
published: true
date: 2021-09-27 10:35:57 UTC
tags: ToCreateHyperlinkedS,VBAMacros
canonical_url: https://geekexcel.com/how-to-create-hyperlinked-sheet-list-in-excel-vba/
---

In this article, you will learn how to  **create hyperlinked sheet list** in Excel VBA. Let’s see them below!! Get the official version of  **MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

## Example

- Firstly, in the Excel Worksheet, you have to go to the  **Developer Tab.**
- Then, you need to ** ** select the  **Visual Basic**  option under the  **Code**  section.

![Select Visual Basic](https://geekexcel.com/wp-content/uploads/2021/09/Select-Visual-Basic-9-1024x180.png)<figcaption>Select Visual Basic</figcaption>

- Now, you have to  **copy and paste the code**  given below.

```
Sub CreateHyperlinkedSheetList()
Dim ws As Worksheet
Application.ScreenUpdating = False
ActiveSheet.Range("A:A").Clear 'clear existing list
For Each ws In ActiveWorkbook.Worksheets
With ActiveSheet.Range("A" & Rows.Count).End(xlUp)
.Offset(1).Value = ws.Name
ActiveSheet.Hyperlinks.Add Anchor:=.Offset(1), Address:="", SubAddress:= _
"'" & ws.Name & "'!A1", TextToDisplay:=ws.Name
End With
Next ws
Application.ScreenUpdating = True
End Sub

```

- You need to  **save the code**  by selecting it and then  **close the window**.

![](https://geekexcel.com/wp-content/uploads/2021/09/Save-the-Code-82-1024x651.png)<figcaption>Save the Code</figcaption>

- Again, you have to go to the  **Excel Spreadsheet** , and click on the  **Developer Tab**.
- You need to choose the  **Macros option**  in the Code section.

![Choose Macro option](https://geekexcel.com/wp-content/uploads/2021/09/Choose-Macro-option-11-1024x184.png)<figcaption>Choose Macro option</figcaption>

- Now, you have to make sure that your  **macro name is selected**  and click the  **Run ** button.

![](https://geekexcel.com/wp-content/uploads/2021/09/Run-the-Code-51.png)<figcaption>Run the Code</figcaption>

- Finally, you will receive the output as a **list of sheets** , each being hyperlinked to their **respective sheet name** in the workbook.

## Sum-Up

In the above short tutorial, we have illustrated how to  **create hyperlinked sheet list** in Excel VBA. Hope you like this article. Please feel free to state your  **query**  or  **feedback**  for the above article. Thank you so much for Reading!! To learn more, check out **[Geek Excel](https://geekexcel.com/)!! **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

**Related Articles:**

- **[How to Count All Distinct Values in a Range in Excel 365? – Kutools](https://geekexcel.com/how-to-count-all-distinct-values-in-a-range-in-excel-365-kutools/)**
- **[Excel Formulas To Count All Distinct Values in a Range in Excel 365!!](https://geekexcel.com/excel-formulas-to-count-all-distinct-values-in-a-range-in-excel-365/)**
- **[Formulas to Count Cells that contain Positive Numbers in Excel!!](https://geekexcel.com/formulas-to-count-cells-that-contain-positive-numbers-in-excel/)**
- **[How to Separate Negative and Positive Values From a Column in Excel?](https://geekexcel.com/how-to-separate-negative-and-positive-values-excel/)**
- **[How to Change the Signs of Numbers in Excel Office 365? – Quick Steps!!](https://geekexcel.com/how-to-change-the-signs-of-numbers-in-excel-office-365-quick-steps/)**