Forum Discussion
Masterjx9
Apr 26, 2021Copper Contributor
How can I run VBA code for outlook in powershell?
I have some example code that I am using to test setting up outlook profiles using the profman library from Dmitry. https://www.dimastr.com/redemption/profman_examples.htm
I know nothing on VBA but I wanted to impress my boss by trying to make an automated way of creating email profiles.
Some of these test examples work but I can only run it in outlook through vba.
Is there a way I can start outlook and run the vba script all from powershell?
I am able to do this for excel and the macro I have for that but I haven't found a way to do this for outlook yet.
Any suggestions?
Thank you for your time,
No RepliesBe the first to reply