"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Programmatically? I don't think there's a command for it. Guess you could
RunCommand acCmdDebugWindow and then SendKeys a Ctrl+A and Del.
The MZ Tools utillity has a toolbar button that clears the Immediate
Window. Download from mztools.com
That looks like a nice set of tools, thanks for the recommendation. I'm
going to take a good look at using them.
I never really cared much for sendkeys. A click of the mouse at the wrong
time can really screw things up -- especially at 3am. I can imagine
inadvertently clicking inside a huge module just before that Ctrl-A.
Sometimes the words Cannot Undo wake me from my sleep :-)
How big is the buffer for the debug window? I see that some of the bigger
strings I work with get cut off. Maybe printing space(xxx) to the debug
window would do it. Its probably a good idea to wrap the debug statement in
a function anyway.
Thanks,
Mike