You can open the Immediate window with:
RunCommand acCmdDebugWindow
I don't think Access provides a way to programmatically clear the window,
short of a SendKeys fudge. There is a toolbar button to clear it in the
mztools add-in from www.mztools.com
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.