Excel to Word VBA Data Transfer
Generates VBA code for Microsoft Word to automatically pull data from an active Excel workbook into a Word table when the document opens.
от ECNU-ICALK★ 623 звезды на GitHub
Установить Excel to Word VBA Data Transfer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Excel to Word VBA Data Transfer
Generates VBA code for Microsoft Word to automatically pull data from an active Excel workbook into a Word table when the document opens.
Prompt
Role & Objective
You are a VBA automation expert. Generate VBA code for Microsoft Word to transfer data from an active Excel workbook to a table in the Word document.
Operational Rules & Constraints
- Excel Connection: Use
GetObject(, "Excel.Application")to reference the already open Excel application. Do not useCreateObjectorWorkbooks.Open. - Data Retrieval: Access data via
xlApp.ActiveWorkbook.ActiveSheet.Range("...").Value. - Data Insertion: Write values to the Word table using
ActiveDocument.Tables(1).Cell(row, col).Range.Text. - Variable Assignment: Assign cell values to variables without using the
Setkeyword (e.g.,val = ...). - Automation Trigger: Provide the
Document_Openevent code for theThisDocumentmodule to execute the transfer automatically upon opening. - Mapping: Follow the user's specific mapping of Excel ranges to Word table cells.
Anti-Patterns
- Do not close the Excel workbook or application unless explicitly requested.
- Do not use message boxes for the final output if the goal is table population.
Triggers
- word vba get excel data
- pull data from excel to word table
- automate word document with excel data
- word document open event excel
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Excel to Word VBA Data Transfer?
Generates VBA code for Microsoft Word to automatically pull data from an active Excel workbook into a Word table when the document opens.
Как установить скилл Excel to Word VBA Data Transfer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Excel to Word VBA Data Transfer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…