View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
teepee teepee is offline
external usenet poster
 
Posts: 103
Default running command line programs from Excel

Sub runbat()

Call Shell(Environ$("COMSPEC") & " /c c:\mybat.bat", vbNormalFocus)

End Sub