Computing.Net > Forums > Programming > Excel VBA - batch file in Dos - She

Excel VBA - batch file in Dos - She

Reply to Message Icon

Original Message
Name: rww
Date: September 23, 2002 at 10:35:43 Pacific
Subject: Excel VBA - batch file in Dos - She
OS: NT
CPU/Ram: INTEL 1.2G 256
Comment:

I have a DOS Batch file that starts a fortran program with an instruction file. This batch file works fine and I can run it from the Windows Start Menu. But I can't get the batch file to run from the Shell in my Exel (2000) VBA. I know my shell operations work fine because I can run a DOS executble - I just can make it run the batch file. Any ideas (I am looping to wait for the program to run before continuing with my VBA)


Report Offensive Message For Removal


Response Number 1
Name: adamu sylvester
Date: September 24, 2002 at 05:56:47 Pacific
Subject: Excel VBA - batch file in Dos - She
Reply: (edit)

while dont u save the batch file has an .exec file and whenever u wish to work it.
or whenever u want to load the batch file remember to include the drive where the batchfile is found eg c:/batchfile.bat
thanks
sylvester
from nigeria


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Excel VBA - batch file in Dos - She

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge