Ask Your Question

Invoke Command Line Program from VBA Macro [closed]

asked 2014-05-27 05:57:41 +0100

S.Suzuki gravatar image

updated 2015-09-05 23:54:13 +0100

Alex Kemp gravatar image

I want to invoke my own program from VBA macro of LibreOffice Calc. I tried the following Shell ("path/a.exe") However, anything happened. I tried other possible options, but results were same. I am sure path is correct, because wrong path invoked error message.

I also noticed that Shell ("cmd.exe") does not invoke command line window.

Is there any way to invoke my executable from VBA macro program?

My platform is Windows 7. I use version of LibreOffice. Executable was created by MinGW and it works just double-clicking the file "a.exe" from Explorer window.

Thank you.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-23 21:32:28.134880

2 Answers

Sort by » oldest newest most voted

answered 2014-05-27 08:56:08 +0100

S.Suzuki gravatar image

Dear Karolus,

I really thank you for very quick response! It worked as I desired!

I will later try Python as well. I am not familiar with Python.

I thank you again! Vielen Dank!


edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-05-27 05:57:41 +0100

Seen: 423 times

Last updated: May 27 '14