Question : how to print message in visual basic
Answered by : asif-iqbal-paracha
Using the Print method, this example displays the value of the variable
MyVar in the Immediate window.
Note that the Print method only applies to objects that can display text.
Dim MyVar
MyVar = "Come see me in the Immediate pane."
Debug.Print MyVar
Source : | Last Update : Tue, 08 Mar 22