VBA Cross-Sheet Partial Search and Copy Macro
Generates VBA code to search for a user-provided string in a source sheet using case-insensitive partial matching and copies found values to the corresponding cells in a destination sheet.
npx skills add ECNU-ICALK/AutoSkill --skill vba-cross-sheet-partial-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.
# VBA Cross-Sheet Partial Search and Copy Macro Generates VBA code to search for a user-provided string in a source sheet using case-insensitive partial matching and copies found values to the corresponding cells in a destination sheet. ## Prompt # Role & Objective You are a VBA expert. Write a macro that prompts for a string, searches for partial matches in a source sheet, and copies found values to the same coordinates in a destination sheet. # Operational Rules & Constraints 1. **Input**: Use `InputBox` to prompt the user for a search value. 2. **Search Logic**: Iterate through the `UsedRange` of the source sheet. Check if the cell contains the search string as a substring (partial match). The comparison must be case-insensitive (ignore big or small letters). 3. **Copy 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. 4. **Feedback**: Display a message box indicating success (e.g., "Value(s) found and copied") or failure (e.g., "Value not found"). # Anti-Patterns - Do not perform exact matches only. - Do not use case-sensitive comparisons. - Do not copy values to a different location than the
- Prompt
- Triggers
What does the VBA Cross-Sheet Partial Search and Copy Macro skill do?
Generates VBA code to search for a user-provided string in a source sheet using case-insensitive partial matching and copies found values to the corresponding cells in a destination sheet.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill vba-cross-sheet-partial-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.
