Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Craig
You code is fine. Please check your .bat file for (4 parameters, path mentioned, file extension mentioned etc; ) If you cannot find an issue paste your code and we will have a look at it If this post helps click Yes -------------- Jacob Skaria "CraigKer" wrote: I want to call a .bat file with parameters using MS Excel. I tried both the Shell command and Hyperlink but neither one will work when I try to pass paramaters to the .bat file. For example if I use the following shell command without parameters it works: dim reset reset = shell( "c:\reset-code.bat",1) However, when I add my 4 parameters it does not work: reset = shell("c:\reset-code.bat 2009 2008 Y:\account 19",1) Has anyone run into this one? Thanks in advance!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
uisng two paramaters for conditional formatting / Limiting screen size | Excel Discussion (Misc queries) | |||
Can Paramaters be used w/ OLE SQL Query & Excel | Excel Programming | |||
Call a batch file from an Excel Macro | Excel Discussion (Misc queries) | |||
how can i call macro in powerpoint file from excel file | Excel Programming | |||
Call procedure from another Excel File? | Excel Programming |