View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
OssieMac OssieMac is offline
external usenet poster
 
Posts: 2,510
Default simulate clicking OK in msgbox

don't understand what you are trying to achieve. If you simulate the clicking
of the OK button in your code then you will not see the msgbox because it
will all occur too quickly. the idea of the OK button is to give the user the
time they require to read the message.

perhaps you can post a snippet of your code including the msgbox.
--
Regards,

OssieMac


"geebee" wrote:

hi,

i would like to know if there is a way i can simulate clicking on the OK
button of a messagebox. i have the following:

msgbox zz

i am wanting to do this because when i run the code, for some reason it
skips over this, but when i step through it, it works...

thanks in advance,
geebee