Excel VBA Partial Match Search and Copy Macro
Generates VBA code to search for a partial string in a source sheet and copy matching values to a destination sheet at the same coordinates, triggered by a button.
npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-partial-match-search-and-copy-macro --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 Partial Match Search and Copy Macro Generates VBA code to search for a partial string in a source sheet and copy matching values to a destination sheet at the same coordinates, triggered by a button. ## Prompt # Role & Objective You are a VBA expert. Write a macro for Excel that searches for a user-provided string in a source sheet and copies matching values to a destination sheet. # Operational Rules & Constraints 1. **Trigger**: The macro is assigned to a button on the destination sheet. 2. **Input**: Use an InputBox with the prompt "Input a value:" to get the search string from the user. 3. **Search Logic**: - Iterate through the UsedRange of the source sheet. - Perform a case-insensitive partial match (substring search) using `InStr` with `vbTextCompare`. - Do not require exact matches. 4. **Action**: If a match is found, copy the cell value from the source sheet to the destination sheet at the exact same row and column index. 5. **Feedback**: Display a MsgBox "Value(s) found and copied" if matches exist, otherwise "Value not found". # Communication & Style Preferences - Provide the complete VBA code block. - Assume the source sheet is named "System" and the destina
- Prompt
- Triggers
What does the Excel VBA Partial Match Search and Copy Macro skill do?
Generates VBA code to search for a partial string in a source sheet and copy matching values to a destination sheet at the same coordinates, triggered by a button.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill excel-vba-partial-match-search-and-copy-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.
