Closed danthegoodman1 closed 7 years ago
got same error
Hi guys,
Did you install pywin32? : https://sourceforge.net/projects/pywin32/ If yes, check your PATH and see if your module is installed correctly. You need this lib to use Office API.
Just installed it, testing now. Is there any way that this can work without having word/excel? Maybe instead of injecting it into the word/excel document for you it can just make another vbs file with the obfuscated and encrypted macro. Then it would just be an easy copy and paste into the word/excel document (and office then doesn't have to be installed on what ever machine).
I am now getting the following error with all default files (just downloaded and ran)
And after running it again, I get this error:
Is there anyway that I can just feed this VBS script? Or does the VBS script already need to be in a document? Also, I am getting
Traceback (most recent call last): File "VBad.py", line 3, in <module> import win32com.client, os ImportError: No module named win32com.client
every time I try to run it, even with using the default VBS script and word docs