Wednesday, October 9, 2019

Call PowerShell from VBA

Sub powerShell()

Dim objSjell As Object

Set objShell = CreateObject("Wscript.Shell")
objShell.Run ("powershell.exe -noexit .\tagui tutorial1-7")

End Sub