• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to clear immediate window without using SendKeys

polarisking

Member
Has anyone seen a clever way to do this without
  • Using SendKeys (whose unpredictable behavior is legend)
  • Establishing references to libraries
  • Authoring massive lines of complex code
Still shaking my head that such a straightforward process is so under served.

Thank you in advance.
 
Hui, I suspect I wasn't clear about my request (unless you're pulling my leg :)). I want to do it using VBA, for example calling a little subroutine at the top of the procedure to clean out whatever debug.print messages have been left behind from prior runs.

Make sense?
 
a genuine thanks for the link, Hui. I came across this same post earlier and that's why bullet 3 in the original post was
  • Authoring massive lines of complex code
Perhaps some things are meant to be, but it just seems to make little sense that the VBA editor would provide a feedback loop (immediate window) and no automated way to erase its contents.

Again, thank you for your responses.
 
As a kludge you can simply write a couple of hundred blank lines to it. Otherwise, it will require APIs or a 3rd party add-in like MZ Tools.
 
Back
Top