Teacher Luo's Local Excel VBA Data Processor
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_b4a8b79e/lls-local-excel-vba-data-processor into your AI assistant.
About this skill
Problem
Many Excel workflows look like simple merging, cleaning, and reporting, but repeated manual steps are error-prone, and HR, finance, or customer data may not be safe to upload to external tools. This skill frames the goal as a local, auditable, rollback-friendly macro, not just quick VBA output, and it avoids running directly on the only original file by default.
How It Works
It starts by confirming the workbook, worksheet, header row, unique key, output location, and acceptance cases, then writes a data contract. Sanitized samples of 3 to 10 rows cover blanks, duplicate keys, bad formats, missing matches, and boundary amounts. For one-off small tasks, it prefers Power Query or formulas; VBA is used only when rules are stable and repeated. Generated macros are expected to include Option Explicit, error handling, input checks, logs or error lists, state restoration, and avoid reliance on Select, Activate, or overwriting source data.
Boundaries
It fits multi-sheet merge/split, matching by ID or name, cleaning dates and amounts, and departmental reporting for local data that should not be uploaded. It is not intended for real-time multi-user collaboration, database-level concurrency, datasets beyond Excel’s stable scale, or bypassing workbook protection and audit controls. On Mac, avoid Windows-only ActiveX, COM, and file dialogs.
Use Cases
- Merge department Excel sheets by ID, remove duplicates, and generate totals plus an error list
- Clean customer table blanks, dates, and duplicate keys, then output an auditable sanitized result copy
- Match HR and attendance data by name and department, and generate a missing-item error list
- Batch-create regional report worksheets and set print ranges with run instructions
Best For
- Finance operations staff who want repeated Excel merge and cleaning workflows as local macros
- Business specialists handling sensitive HR or customer data that cannot be uploaded to external tools
- Project assistants who need macro outputs, error lists, and rollback steps for acceptance
- Office automation leads who want data contracts before VBA code is generated
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.