C ChasW Apr 11, 2006 #1 How can I programmitcally clear the VBA Immediate window before "Debug.Print"ing a batch of data to it? Cheers! Chas
How can I programmitcally clear the VBA Immediate window before "Debug.Print"ing a batch of data to it? Cheers! Chas
T TC Apr 11, 2006 #2 debug.print'ing 20 or 30 vbCrLf 's would do it. HTH, TC (MVP Access) http://tc2.atspace.com
J Jon Lewis Apr 11, 2006 #3 The only way that I am aware of is to effectively "scroll" out any text. This I think was originaly posted by Stephen Lebans: Dim strClear As String strClear = String(256, vbCrLf) Debug.Print strClear 256 I believe is an arbitrary figure which produces more than enough carriage returns to cause any text to disappear form the Immediate window. HTH
The only way that I am aware of is to effectively "scroll" out any text. This I think was originaly posted by Stephen Lebans: Dim strClear As String strClear = String(256, vbCrLf) Debug.Print strClear 256 I believe is an arbitrary figure which produces more than enough carriage returns to cause any text to disappear form the Immediate window. HTH