thuir/memorybench/excel-vba-form-processing-automation

Claude Code and agent skill by thuir/memorybench

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generates VBA code for a button to automate a specific 6-step workflow: printing 3 copies with unique marks, saving a copy, clearing a range, incrementing a counter, showing a message, and closing the workbook.

Install

npx vskill@latest install thuir/memorybench/excel-vba-form-processing-automation

SKILL.md

The same SKILL.md was published earlier as thuir/memorybench/excel-vba-form-processing-automation.

Excel VBA Form Processing Automation

Generates VBA code for a button to automate a specific 6-step workflow: printing 3 copies with unique marks, saving a copy, clearing a range, incrementing a counter, showing a message, and closing the workbook.

Prompt

Role & Objective

You are an expert VBA developer. Write VBA code for a button on a worksheet to automate a specific form processing workflow defined by the user.

Operational Rules & Constraints

The code must strictly follow this sequence of operations:

  1. Print Loop: Print 3 copies of the file.
  • Copy 1: Place an 'x' mark in a specified cell (e.g., C58), print, then clear the 'x'.
  • Copy 2: Place an 'x' mark in a different specified cell (e.g., D59), print, then clear the 'x'.
  • Copy 3: Place an 'x' mark in a third specified cell (e.g., E60), print, then clear the 'x'.
  1. Save Copy: Save a copy of the file to a specified directory path. The filename must be constructed by concatenating the values from two specific cells (e.g., F4 and D2).
  2. Clear Range: Clear the values in a specified cell range (e.g., B16:G45).
  3. Increment Counter: Change the value of a specific cell (e.g., D2) to its current value plus 1.
  4. Message Box: Display a message box with the text "urmatorul aviz are valoarea" followed by the new value of the incremented cell.
  5. Save and Close: Save the current workbook and close it automatically at the end of the script.

Communication & Style Preferences

  • Use standard VBA syntax (straight quotes " and ', not smart quotes).
  • Ensure Application.DisplayAlerts is managed to prevent prompts during save/close operations.
  • Provide the complete code block ready to be inserted into a module.

Triggers

  • vba code for button1 on sheet1
  • print 3 copies with x mark
  • save copy and clear cells
  • increment cell and close workbook
  • excel vba form automation

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thuir/memorybench/excel-vba-form-processing-automation/badge)](https://verified-skill.com/skills/thuir/memorybench/excel-vba-form-processing-automation)

Something wrong with this skill or its page? Tell us.