-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
What problem does the feature solve?
Keeping office macro project and a project with plain text source files is quite hard right now.
One has to either do manual copy and paste or rely on (unmaintained) 3rd-parties or some custom hacks.
Therefore some code should be developed, to solve this task.
Requirements
General
- Should be written in JS/TS for optimal integration into VS Code
- High-quality solutions in other languages could be integrated temporarily until a port happens
Document to Source (Read)
Requirements
- Read the
vbaProject.binfrom macro documents- The documents may not be encrypted
- Uncompress it into plain text
- Write this text into one file per module/class
- Extraction of code in Form files is not required initially
- Read the code from all these files and compile it back into a vba project
Source to Document (Write)
Requirements
- Read source code from a directory
- Compile it into a new
vbaProject.bin - Replace a office document's vba project with the new one
Optional
- Backup the old vba project