It ought to be simple. I should be able to find out how in a hundred places, but I can't. Does anyone know how to clear the immediate windows programmatically? Specifically in Access 2k?
It ought to be simple. I should be able to find out how in a hundred places, but I can't. Does anyone know how to clear the immediate windows programmatically? Specifically in Access 2k?

This month, every Windows Secrets subscriber can download a one-chapter excerpt of Windows 7: The Missing Manual.Windows 7: The Missing Manual provides valuable information to help you overcome these difficulties in learning a new operating system. Subscribe today to download your free excerpt.
Why would you want to clear it programmatically? You can't see it except in the VBE, so why not click in it press Ctl-A and hit delete? That works in my Access 2K.
Charlotte
This subject was dealt with incompletely <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=vb&Number=31795&page=5&view =collapsed&sb=5> here</A>
But beware of using SendKeys with linked windows.
Andrew C
Because I have an app that generates a lot of debug output, and I want to clear it all each time I run it. If I had some code that cleared it as it started, that would help.
Maybe I'm just lazy!
Jim
What about
for i = 1 to 200
debug.print
next i
(there's a buffer of about 200 lines in there)
Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.