Clear immediate window : Immediate Window « Application « VBA / Excel / Access / Word






Clear immediate window

 
Sub ImmediateWindowClear()
   Application.VBE.Windows.Item("Immediate").SetFocus
   Application.SendKeys "^a"
   Application.SendKeys "{del}"
End Sub


 








Related examples in the same category