Link to home
Start Free TrialLog in
Avatar of SergeD
SergeD

asked on

Cleaning the Immediate window

Hi Folks,

I am using the immediate window very often in order to report information. I would like to add an instruction at the start of my program in order to clean it automatically instead of manuaaly (select all with the mouse and DEL). The debug object contains only the Print and Assert method and I could not find any other function.
Any idea?

Thanx
Serge
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SendKeys ("+{PGUP}{DEL}")

possibly
probably not though.
Avatar of jgv
jgv

SendKeys "^a{DEL}"

works with RTB
Avatar of SergeD

ASKER

Thanx Waty,

but I am having problems:
VBIDE.Window> user-defined type not defined

Then I added the reference: "Microsoft Visual Basic 6 Extensibility" and got:
   VBInstance> variable not defined

I had a look to the help and apparently I need to add an add-in. Could you provide me with the procedure to make this sub working?

Thanx
Serge

Go on my website (see in my profile) and download my VBIDEUtils this is an addins + VBCode repository, it allows to clear the debug window and lots of other things
commenting so I can bookmark