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,516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.