Powershell not working from VBA

Imran Syed 21 Reputation points
2020-12-08T06:25:47.937+00:00

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
    2020-12-08T21:16:22.22+00:00

    only problem is in excel vba

    Might try them over here in dedicated excel dev forums.
    https://social.msdn.microsoft.com/Forums/Lync/en-US/home?forum=exceldev

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

    0 comments No comments