0

I'm trying to run a script from Excel in Linux- is this possible? I used playonlinux to setup MS Office on Linux and tried the following simple code (originally from Execute a command in command prompt using excel VBA):

Dim wsh As Object
Set wsh = VBA.CreateObject("WScript.Shell")
wsh.Run "cmd.exe /c Z:/home/(me)/Downloads/test.sh"

but I get an Error 13: Type Mismatch. Any ideas? Thanks!

Community
  • 1
  • 1
rselvak6
  • 15
  • 1
  • 5

0 Answers0