Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Batch file initiation from Excel macro?

Hi,

Is there a way to start a DOS batch file (*.bat extension) from an Excel
macro? Is it also possible to have the macro wait until the *.bat file
finishes executing? (it can take a while to unzip files that Excel is
subsequently to process).
It would be really nice to zip/unzip (also move/copy, but that's doable etc
etc) files that way.

Where can I find more about Excel/OS integration?

Thanks,
Yarroll




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Batch file initiation from Excel macro?

Ron de Bruin has lots of sample code:
http://www.rondebruin.nl/tips.htm

Including:
http://www.rondebruin.nl/unzip.htm

Yarroll wrote:

Hi,

Is there a way to start a DOS batch file (*.bat extension) from an Excel
macro? Is it also possible to have the macro wait until the *.bat file
finishes executing? (it can take a while to unzip files that Excel is
subsequently to process).
It would be really nice to zip/unzip (also move/copy, but that's doable etc
etc) files that way.

Where can I find more about Excel/OS integration?

Thanks,
Yarroll


--

Dave Peterson
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
how do I email amacro? leo Excel Worksheet Functions 24 August 9th 06 02:47 PM
Macro help: File path in Excel 2000 macronewfie Excel Discussion (Misc queries) 2 May 26th 06 02:21 PM
Excel '00, 1st file has macros, how to stop macro in 2nd file? kaptandrews Excel Discussion (Misc queries) 0 May 24th 06 03:07 PM
Weird File Open/Save As Behavior [email protected] Excel Discussion (Misc queries) 0 December 9th 05 02:26 AM
VBA for Excel 2000 file is corrupt nkamp Excel Discussion (Misc queries) 0 May 26th 05 03:37 PM


All times are GMT +1. The time now is 11:15 PM.

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"