Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I execute other application(*.exe) from VBA(Excel) ?

SUZUKI

"Bill Martin -- (Remove NOSPAM from addre" wrote:
Can you just try to open the output file, and if an error is detected loop back
and try again ... and again? Maybe wait 1 second first before starting the looping?
Bill


Thanks a lot.
I am very glad to know very simple and easy method presented by you.
This method, however, may consume CPU resource, and errors of too many
times may cause some trouble.
Is there more elegant and safe way to let VBA program idle until
Ap1.exe terminates.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I execute other application(*.exe) from VBA(Excel) ?


SUZUKI Wrote:
SUZUKI
Thanks a lot.
I am very glad to know very simple and easy method presented by you.
This method, however, may consume CPU resource, and errors of too many
times may cause some trouble.
Is there more elegant and safe way to let VBA program idle until
Ap1.exe terminates.


This would require using API functions to make a snapshot and AP
process functions
you can find information on: URL: 'API page' (http://www.allapi.net/

--
Dnere
-----------------------------------------------------------------------
Dnereb's Profile: http://www.excelforum.com/member.php...fo&userid=2618
View this thread: http://www.excelforum.com/showthread.php?threadid=39609

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I execute other application(*.exe) from VBA(Excel) ?

Thanks a lot for infomation on API.
Now, I underatand that I should learn API.
--
SUZUKI

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
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM
Application level events no longer execute R Avery Excel Programming 1 June 4th 04 01:21 AM
tried to execute application from VBA Domagoj Vulin[_2_] Excel Programming 0 July 23rd 03 09:58 PM
tried to execute application from VBA Tom Ogilvy Excel Programming 1 July 23rd 03 09:56 PM
tried to execute application from VBA Bill Lunney Excel Programming 0 July 23rd 03 02:05 PM


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