Just click anywhere in the immediate window, Ctrl-A, and delete.
If you need VBA, this has been suggested before
Public Sub ClearImmediateWindow()
Dim MyApp As Application
Set MyApp = Application
MyApp.VBE.Windows.Item("Immediate").SetFocus
SendKeys "^a"
SendKeys "{del}"
End Sub
but I must admit I have problems with it
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
Ask a Question
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.