Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to launch a batch file from within an Excel macro. If so what
is the command I need in VBA assuming the batch file is in c:\belfry\convert.bat Thank you |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Take a look at VBA's help for Shell.
Ben wrote: Is it possible to launch a batch file from within an Excel macro. If so what is the command I need in VBA assuming the batch file is in c:\belfry\convert.bat Thank you -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the Shell command. E.g.,
Shell "c:\belfry\convert.bat", vbNormalFocus -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Ben" wrote in message ... Is it possible to launch a batch file from within an Excel macro. If so what is the command I need in VBA assuming the batch file is in c:\belfry\convert.bat Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Launching Excel from Spreadsheet file | Excel Discussion (Misc queries) | |||
Would Like to Automate Batch File Creation and Text FIle Import | Excel Discussion (Misc queries) | |||
launching excel, a file, and a macro automatically | Excel Programming | |||
Create a batch file from a number of Excel File | Excel Programming | |||
Launching file in excel not internet explorer | Excel Programming |