Import modules from files
xlide_import_modulesImport .bas and .cls VBA modules from a folder into an Office file, previewing changes before writing. Apply with apply=true to save, then run analysis.
Instructions
Reads .bas and .cls files from a folder back into an Office file's VBA project and saves it. Previews by default: it reports which modules would change and by how much, and writes nothing until apply=true. A file whose name matches no module creates one. Document modules such as ThisWorkbook are written but never created. After applying, call xlide_analyze.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Write the modules. False previews the plan. | |
| file_path | Yes | Absolute path to the Office file. | |
| source_folder | Yes | Folder holding the .bas/.cls files. | |
| allow_protected | No | Ask the user first. | |
| allow_invalidate_signature | No | Ask the user first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||