Powershell not working from VBA

Imran Syed 21 Reputation points

hello everyone
I am trying to open powershell from VBA but getting permission denied error.
my code and error shared below
thanks for your kind support46037-error.jpg

i am using Office 365 on windows 10 machine

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,359 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP

    only problem is in excel vba

    Might try them over here in dedicated excel dev forums.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments