How to clear the Debug Window programatically

aziz rasul

Active member
Local time
Today, 10:15
Joined
Jun 26, 2000
Messages
1,935
If on my previous routine I have populated the Debug window by using Debug.Print in the code, how do I empty this window using VBA before I run another routine which is also going to the Debug window?
 
Hello,

I looked in the developers handbook and there doesn't seem to be any code to clear the window. My recommendation would be to have your last line of code be a string of "--------------------". This will give you a break point. Also if you are using the immediate window it will only hold 200 lines then starts erasing the top.

HTH
Robert
 
Thanks for the contribution Robert. I myself have not read anything that solves this problem.
 

Users who are viewing this thread

Back
Top Bottom