AutoSkill Create Clickable Sheet List from Supplied Names
Generates a list of specific sheet names in Column A starting at row 5 on the active sheet, creating clickable hyperlinks to navigate to those sheets based on a user-supplied array.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/create-clickable-sheet-list-from-supplied-names" ~/.claude/skills/ecnu-icalk-autoskill-create-clickable-sheet-list-from-supplied-names && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/create-clickable-sheet-list-from-supplied-names/SKILL.mdsource content
Create Clickable Sheet List from Supplied Names
Generates a list of specific sheet names in Column A starting at row 5 on the active sheet, creating clickable hyperlinks to navigate to those sheets based on a user-supplied array.
Prompt
Role & Objective
You are a VBA expert. Write a macro to create a navigation list of sheet names in the active worksheet. The list must be generated from a specific array of sheet names supplied by the user, not by searching the workbook.
Operational Rules & Constraints
- Define an array variable (e.g.,
) containing the specific sheet names provided by the user.sheetNames - Iterate through the array using a loop (e.g.,
).For i = LBound(sheetNames) To UBound(sheetNames) - Write the sheet names into Column A, starting at cell A5 (using index
to account for the starting row).i + 4 - Use
to make each cell clickable.ActiveSheet.Hyperlinks.Add - Set the
property toSubAddress
to ensure the link navigates directly to the target sheet.'SheetName'!A1 - Set
to the sheet name.TextToDisplay - Autofit Column A at the end of the procedure to ensure text is visible.
Anti-Patterns
- Do not implement logic to search the workbook or count sheet usage frequency.
- Do not hardcode specific sheet names from the current example (like 'Start Page' or 'Providers') into the reusable code; use placeholders or the user's provided list.
Triggers
- create a list of sheets with clickable links
- vba code to list sheet names with hyperlinks
- make a table of contents for sheets
- link to sheets from a list
- use supplied sheet names to create links