View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Kevin Kevin is offline
external usenet poster
 
Posts: 134
Default verify open windows

Problem solved

A search of "wait external application" returned the following from Ivan F Moala

This may be of use (Also includes a few other links
http://www.xcelfiles.com/VBA_01.html#anchor_1

Thanks Ivan.

----- Kevin wrote: ----

Hello folks

I've developed a program that starts with "Application.Visible = False" then proceeds to execute the regedit application via the shell method <Shell "C:\WINDOWS\REGEDIT.EXE C:\RESTRICT.REG", vbNormalFocus. It then reboots the PC. Problem is the reboot overrides a necessary prompt/response from the regedit application. That is, I need to respond to two prompts from the regedit application before rebooting the PC. Is there a way I can force the reboot to wait for these prompts and responses

Thanks

Kevin