Run files with Visual Basic for Application code/programms in Word, Excel or Visio.
Visual Basic
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
VBA
Visual_Basic_Extensibility-VBE/ObjectModel/VBE
.gitignore
README.md
runVBAFilesInOffice.vbs

README.md

runVBAFilesInOffice

runVBAFilesInOffice -excel VBS_File_One VBS_File_two ... -c Function argument_one argument_two ...

Run files with Visual Basic for Application code/programms in Word, Excel or Visio.

The application in which the code is run is determined by on of the flags -word, -excel or -visio.

Additionally, the flag -wsh can be used to add a reference to the Windows Script Host Object Model (Guid = F935DC20-1CF0-11D0-ADB9-00C04FD58A0B). (Windows_font-path.bas uses this flag).

Links

perl Win32::OLE.

Some examples on ADODB need runVBAFilesInOffice: anonymous_block.bas, ref_cursor.bas and stored_procedure.bas.

about Excel