G
gmazza via AccessMonster.com
Hey there,
I have a While loop at the end of my VBA code and I keep getting an error
that is making no sense to me. Here is the end of my code:
While intCount <= 29
intCount = intCount + 1
Me.Controls("Label" & intCount).Visible = False
Wend
I get the error that my for can't find the field Label29 referred to in your
expression.
When I put my mouse over the intCount, it says intCount = 29
So why is it even going into the While condition if the intCount = 29?
Any help is appreciated.
I have a While loop at the end of my VBA code and I keep getting an error
that is making no sense to me. Here is the end of my code:
While intCount <= 29
intCount = intCount + 1
Me.Controls("Label" & intCount).Visible = False
Wend
I get the error that my for can't find the field Label29 referred to in your
expression.
When I put my mouse over the intCount, it says intCount = 29
So why is it even going into the While condition if the intCount = 29?
Any help is appreciated.