Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Execute a batch file from inside Excel

Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Execute a batch file from inside Excel

look in vba help index for shell

--
Don Guillett
SalesAid Software

"Eric" wrote in message
...
Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Execute a batch file from inside Excel

You can use shell Eric

Shell "C:\batfilename.bat",1


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Eric" wrote in message ...
Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?



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
Can excel run a batch file? Tom Excel Discussion (Misc queries) 2 June 1st 09 02:46 AM
Excel from Batch File Problem PcolaITGuy Excel Discussion (Misc queries) 2 January 10th 08 06:43 PM
Excel to Run a Batch File?!? carla New Users to Excel 3 January 20th 07 02:32 AM
Call a batch file from an Excel Macro Alex Horan Excel Discussion (Misc queries) 0 March 2nd 06 03:29 PM
Running a batch file from Excel VBA verizon Excel Programming 1 July 20th 03 09:27 AM


All times are GMT +1. The time now is 08:14 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"