what is a long variable in vba
VBA Data Types: Long Introduction A long integer is a number that can be used for a variable involving greater numbers than integers. To declare a variable that would hold such a large number, use the Long data type. Here is an example: The type character for the Long data type is @. The above variable could be declared as: A Long variable can store a value between 2,147,483,648 and 2,147,483,647 (remember that the commas are used to make the numbers easy to read; do not be used them in your code).