View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to force the immediate window in the VBE to clear

Got it. Thank you Bob.

Ben

--



"Bob Phillips" wrote:

Sub ClearImmediateWindow()
Application.SendKeys "^g ^a {DEL}"
End Sub

--
__________________________________
HTH

Bob

"Ben" wrote in message
...
Hi all,

Is there a piece of code that can force the immediate window to clear out
on
demand?

Thank you,

Ben


--