Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ReneNyffenegger/runVBAFilesInOffice
- Owner: ReneNyffenegger
- Created: 2014-07-22T12:53:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T06:49:55.000Z (10 months ago)
- Last Synced: 2024-08-13T07:18:21.893Z (6 months ago)
- Topics: office, vba, vbscript
- Language: VBScript
- Homepage: https://renenyffenegger.ch/notes/development/languages/VBA/runVBAFilesInOffice
- Size: 59.6 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - ReneNyffenegger/runVBAFilesInOffice - Run files with Visual Basic for Application code/programms in Word, Excel or Visio. (VBScript)
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)