I want to make visible a specific text if a persons age is between two numbers, like this:
I have tried diffrent things, but have not figured it out.Code:If Me.Age = Between 20 and 25 Then
I thank you for all help.
I want to make visible a specific text if a persons age is between two numbers, like this:
I have tried diffrent things, but have not figured it out.Code:If Me.Age = Between 20 and 25 Then
I thank you for all help.
I think Between is best for dates.
You could use something like:
Me.Age >= 20 And Me.Age <= 25
If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
Bob Fitzpatrick
You cannot use Between in vba?
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.
Thank You, Bob. This works just fine
The problem is solved.
Micron.
The first tip I got works fine, I do not use "Between" in the code.
My problem is solved.