Debug.Print in Excel VBA

By Hemanta Sundaray on 2021-09-04

We can use the Print method of the Debug object to display a value in the immediate window.

Sub Addition()

    Debug.Print 5 * 5

End Sub

Debug.Print

Learn how to run code snippets in the immediate window in my blog post here.

Join the Newsletter