Simpatie.ro - matrimoniale
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
Ada_net pe Simpatie.ro
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 47 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Clear Immediate window with VBA Code

Pagini: 1 Moderat de TRaP, TonyTzu
#1
Mrrrr
AdMiN
Postari: 2390
People use the Immediate window to print on screen results for their codes, instead of using MsgBox which is kind of annoying.

Use the following line of code to clear the immediate window:

    Application.SendKeys "^g ^a {DEL}"


That code will select the Immediate window (CTRL+G), then select all it's contents (CTRL+A) then press the DELETE key. All programatically, without user interference.

Source:
https://social.msdn.microsoft.com/Forum ... m=exceldev


_______________________________________


 
   
Pagini: 1  
Mergi la