Mit fast dem gleichem Problem war ich gestern schon hier.
TextBox2 = Left(TextBox1, InStr(TextBox1, "x") - 1)
TextBox3 = Right(TextBox1, InStr(TextBox1, "x") - 1)
Textbox1 Wert ist bei mir als Beispiel 120x1x0,9
Ausgabe TextBox2 = 120 das ist so ok (dank an Hajo_Zi)
Ausgabe TextBox3 = 0,9 das ist so ok
Das Problem, habe ich als Beispiel den Wert 12 in TextBox1 statt 120
bekomme ich in TextBox3 den Wert ,9 statt 0,9
Je nach Anzahl der Ziffern vor dem ersten x ist meine Ausgabe in TextBox3, jedoch maximal 3 Ziffern.
mfg Metin