I am attempting to to use the statement
where "lr" is the number of the last row.
The statement fails with
"Compile error"
"Constant expression required"
Is it possible to load a variable into a "Dim" statement like this?
Code:
Dim customers(lr) as long
where "lr" is the number of the last row.
The statement fails with
"Compile error"
"Constant expression required"
Is it possible to load a variable into a "Dim" statement like this?