i-nth logo
5 ways to use the VBA Immediate window in Excel
27 September 2014

The VBA Immediate Window is an awesome tool that allows you to get immediate answers about your Excel files, and quickly execute code. It is built into the Visual Basic Editor, and has many different uses that can be very helpful when writing macros, debugging code, and displaying the results of your code.

This post will explain 5 different uses for the Immediate Window:

  • Get info about the Active Workbook.
  • Execute a line of VBA code.
  • Run a macro.
  • View Debug.Print info.
  • Get or set a variable's value.

Full article: 5 ways to use the VBA Immediate window in Excel