This is a really, really simple question, but I so new to VBA, that I have to ask.
I have an integer variable that I want to perform some actions on depending upon its value.
Is the following expression valid for testing to see if an integer variable has a missing value
If HarvestMonth.Va lue = "" Then
'Take some action
end if
Since the double quotes "" are used for String variables, I wasn't sure the same would apply to integers. Sorry for the really simple question.
I've got "Mastering VBA" on my desk and I can't find the answer there. If you would like to recommend additional reading, please feel free.
Mike
I have an integer variable that I want to perform some actions on depending upon its value.
Is the following expression valid for testing to see if an integer variable has a missing value
If HarvestMonth.Va lue = "" Then
'Take some action
end if
Since the double quotes "" are used for String variables, I wasn't sure the same would apply to integers. Sorry for the really simple question.
I've got "Mastering VBA" on my desk and I can't find the answer there. If you would like to recommend additional reading, please feel free.
Mike
Comment