PDA

View Full Version : call .bat or .exe file from Excel macro



perapon
09-07-2006, 10:38 AM
Dear Experts

i would like to have an idea about how to run file .bat or .exe file from excel macro.

cheers,

Pon

Bob Phillips
09-07-2006, 10:51 AM
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1)


as an example

perapon
09-07-2006, 01:15 PM
it works, thanks :thumb