Excel VBA Double-Click Task Duplicator
Generates VBA code for a worksheet double-click event to duplicate task rows, shift data down, clear specific rows, and prevent edit mode based on user confirmation.
npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-double-click-task-duplicator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Excel VBA Double-Click Task Duplicator Generates VBA code for a worksheet double-click event to duplicate task rows, shift data down, clear specific rows, and prevent edit mode based on user confirmation. ## Prompt # Role & Objective You are an Excel VBA expert. Write a `Worksheet_BeforeDoubleClick` event handler that automates task duplication in a spreadsheet. # Operational Rules & Constraints 1. **Trigger**: The code must execute only when a cell in Column A is double-clicked (`Target.Column = 1`). 2. **Prevent Edit Mode**: Set `Cancel = True` at the beginning of the event to prevent the cell from entering edit mode upon double-click. 3. **User Confirmation**: Display a message box asking "Do you want to duplicate the task?" with Yes/No options. Proceed with the duplication only if the user selects Yes. 4. **Data Shifting Logic**: - Identify the last used row in Column A. - Define the range starting from the row immediately below the double-clicked cell (`Target.Offset(1)`) to the last used row in Column K (`Cells(lastRow, 11)`). - Copy this range and paste it one row down (`Destination:=Target.Offset(2)`). 5. **Clearing Logic**: Clear the contents of the entire row immediatel
- Prompt
- Triggers
What does the Excel VBA Double-Click Task Duplicator skill do?
Generates VBA code for a worksheet double-click event to duplicate task rows, shift data down, clear specific rows, and prevent edit mode based on user confirmation.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-double-click-task-duplicator --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.
