[RESOLVED] Problem with .listcount
When i run the following code the List62.listcount shows 1 more than the actual value. In order to get the correct value I have to modify it to List62.listcount-1; the problem with this solution is if the listcount value is 0 the listcount shows -1.
Someone please help...
If Check63.Value = True Then
List62.Visible = True
List57.Visible = False
sign.Value = "There are" & " " & List62.ListCount & " " & "Vehicles in the Impound Yard"
Else
List62.Visible = False
List57.Visible = True
sign.Value = "Notify Lien Holder List"
End If
Thank you "Oldsoftboss"
Mshelley1
When i run the following code the List62.listcount shows 1 more than the actual value. In order to get the correct value I have to modify it to List62.listcount-1; the problem with this solution is if the listcount value is 0 the listcount shows -1.
Someone please help...
If Check63.Value = True Then
List62.Visible = True
List57.Visible = False
sign.Value = "There are" & " " & List62.ListCount & " " & "Vehicles in the Impound Yard"
Else
List62.Visible = False
List57.Visible = True
sign.Value = "Notify Lien Holder List"
End If
Thank you "Oldsoftboss"
Mshelley1
Last edited: