declare vba variable

Excel VBA Variables

This post will guide you how to declare, initialize and display a variable value in MS excel VBA. Declare a VBA variable If you want to declare a variable as Integer, just type the below code line: Dim  myNum as Integer Or Dim myNum% The above code declare a variable “myNum” as integer type. Initialize… read more »

Sidebar