Hallo!

Du hast Bascom, also hast Du auch eine Bascom Hilfe.
Kleiner Tipp: Wert >> Val(ue)
Dort dann die richtige Funktion raussuchen.

MfG
Rone