View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
Michel Pierron Michel Pierron is offline
external usenet poster
 
Posts: 214
Default Can I programmatically simulate clicking the 'stop macro' button in the VBE?

Yes Tom, you are right.
MP

"Tom Ogilvy" a écrit dans le message de
...
For me, I needed to put the DoEvents after the Execute command.

--
Regards,
Tom Ogilvy


"Michel Pierron" wrote in message
...
Hi Alan;
You can try:

DoEvents
Application.VBE.CommandBars.FindControl(ID:=228).E xecute

MP

"Alan" a écrit dans le message de
...

Can I simulate the clicking of the stop button in the VB Editor using
VBA?

Thanks,

Alan.