I must be off my meds again, but I cannot see why:
SomeTextLabel.Text = NumberFormat(someDouble, 1, 1) & " units"
works,
but:
SomeTextLabel.Text = NumberFormat(someDouble, 1, 1) & strUnitsArray(unitsIndex)
doesn't.
I have verified, using a Msgbox, that the array has loaded correctly, and I have verified that the unitsIndex is set properly in another Msgbox.
Is it supposed to work, or do I have to just use literal strings?
SomeTextLabel.Text = NumberFormat(someDouble, 1, 1) & " units"
works,
but:
SomeTextLabel.Text = NumberFormat(someDouble, 1, 1) & strUnitsArray(unitsIndex)
doesn't.
I have verified, using a Msgbox, that the array has loaded correctly, and I have verified that the unitsIndex is set properly in another Msgbox.
Is it supposed to work, or do I have to just use literal strings?