LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Know when .cmd has finished

Hi folks,

I have a little macros which at one point shells a .cmd file to run
minimised, almost
in the background as it were.

Shell "C:\Hotfixer\customscan.cmd", 2

The trouble is I don't want the user moving on into the next phase of
event handling until that
..cmd has completed what it needed to do. The user could end up querying
for data that the
..cmd hasn't yet returned.

What I want to do is have a "please wait" then a "OK Data retrieved"
kind of sequence
which starts when the shell spawns and the finishes when the .cmd
expires.

I'd be very grateful indeed for any advice or sample code.

I am very new to xlvba so the simpler it could be the better!!!

Many thanks,

========
Stuart

 
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
Please Help: Macro Nearly Finished Dave Excel Discussion (Misc queries) 1 September 20th 07 12:16 PM
Loop until finished David A. Excel Discussion (Misc queries) 0 September 17th 07 08:00 PM
Loop until finished. David A. Excel Discussion (Misc queries) 0 September 17th 07 08:00 PM
msg box with finished time, please read Rowan Excel Worksheet Functions 2 July 2nd 05 02:33 AM


All times are GMT +1. The time now is 03:37 AM.

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

About Us

"It's about Microsoft Excel"