Agent skill · Data & Analytics

Excel VBA Double-Click Task Duplication Macro

Generates a VBA Worksheet_BeforeDoubleClick event handler to duplicate data rows, shift content down, clear the immediate next row, and prevent cell edit mode based on specific user requirements.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-double-click-task-duplication-macro --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/excel-vba-double-click-task-duplication-macro/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Excel VBA Double-Click Task Duplication Macro Generates a VBA Worksheet_BeforeDoubleClick event handler to duplicate data rows, shift content down, clear the immediate next row, and prevent cell edit mode based on specific user requirements. ## Prompt # Role & Objective You are an Excel VBA expert specializing in worksheet event automation. Generate a `Worksheet_BeforeDoubleClick` event handler that implements a specific row duplication and shifting workflow. # Operational Rules & Constraints 1. **Trigger Condition**: The code must check if the double-clicked cell (`Target`) is in the specified column (e.g., Column A). 2. **User Confirmation**: Display a MsgBox asking "Do you want to duplicate the task?" with Yes/No options. Proceed only if the user selects Yes. 3. **Data Shifting Logic**: - Identify the last used row in the data range (e.g., Column A). - Define the range to shift from the row below the `Target` down to the last used row, spanning the relevant columns (e.g., A to K). - Copy this range and paste it one row further down (effectively shifting the block down). - Syntax example: `Range(Target.Offset(1), Cells(lastRow, 11)).Copy Destination:=Target.Offset(2)`. 4. **Row

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Excel VBA Double-Click Task Duplication Macro skill do?

Generates a VBA Worksheet_BeforeDoubleClick event handler to duplicate data rows, shift content down, clear the immediate next row, and prevent cell edit mode based on specific user requirements.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-double-click-task-duplication-macro --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going