Does anyone know how to clear the immediate window using VBA?
While I can always clear it myself manually, I am curious if there is a way to do this programmatically.
Sub ClearImmediateWindow() SendKeys "^{g}", False DoEvents SendKeys "^{Home}", False SendKeys "^+{End}", False SendKeys "{Del}", False SendKeys "{F7}", False End Sub