Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ReneNyffenegger/runVBAFilesInOffice

Run files with Visual Basic for Application code/programms in Word, Excel or Visio.
https://github.com/ReneNyffenegger/runVBAFilesInOffice

office vba vbscript

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/ReneNyffenegger/Fonts/blob/master/Windows_font-path.bas)
uses this flag).

## Links

Some notes on [my homepage](https://renenyffenegger.ch/notes/development/languages/VBA/runVBAFilesInOffice)

[perl Win32::OLE](https://github.com/ReneNyffenegger/perl-Win32-OLE).

Some examples on [ADODB](https://github.com/ReneNyffenegger/about-adodb/tree/master/Oracle) need *runVBAFilesInOffice*:
[anonymous_block.bas](https://github.com/ReneNyffenegger/about-adodb/blob/master/Oracle/anonymous_block.bas),
[ref_cursor.bas](https://github.com/ReneNyffenegger/about-adodb/blob/master/Oracle/ref_cursor.bas) and
[stored_procedure.bas](https://github.com/ReneNyffenegger/about-adodb/blob/master/Oracle/stored_procedure.bas).

[about Excel](https://github.com/ReneNyffenegger/about-Excel)