VBA Project

Kenia B Flores asked 2 years ago

I am trying to run my batch module and it says “Variable not defined”. I do not understand why if I haven’t edited the document or the formatting of the sub

1 Answers
Jared answered 2 years ago

Variable not defined means that you are trying to use a variable which may be incorrectly declared as a variable. It could be a typo where you are trying to use the variable “Dim iRow as integer” but you might have called it “irow” (No capital R) which matters to VBA. Just make sure that you are referencing a variable with the correct spelling and everything.

Your Answer

20 + 3 =