Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Launch a program from Excel

I am trying to call a batch file from within excel but cannot get the syntax
right

this is what I am using

Application.Run "c:\maxl\batch\inflation.bat"

syntax is wrong somewhere as it says it cannot find the macro
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Launch a program from Excel

Application.Run is for a macro. You probably want to use the Shell command:
Shell "c:\maxl\batch\inflation.bat"
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Nigel" wrote:

I am trying to call a batch file from within excel but cannot get the syntax
right

this is what I am using

Application.Run "c:\maxl\batch\inflation.bat"

syntax is wrong somewhere as it says it cannot find the macro

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Launch Program then load file Keyrookie Links and Linking in Excel 1 March 1st 10 11:45 PM
script to launch a program from excel calvin Excel Discussion (Misc queries) 4 January 29th 09 09:12 PM
Launch external program - Compile error: Expected: list separator PJ Excel Programming 2 December 19th 08 05:31 PM
can vb from excel launch another program? Mr BT Excel Worksheet Functions 0 August 16th 06 05:37 PM
Problem to launch a program from Excel ina Excel Programming 2 May 9th 06 04:31 PM


All times are GMT +1. The time now is 02:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"