VB Code:
If ComboInLabel.Caption = "Centimeters (Cm)" Or "Meters (M)" Or "Kilometers (Km)" Then CompatabilityInType = "Length" End If
Im getting a type mismatch error, im guessing that IF cannot handle 'or' with strings? only numbers?
thanks in advance




Reply With Quote