Hallo Zusammen,
ich habe ein Problem mit einer Formatierung eines Textfeldes. Und zwar möchte ich falls im Textfeld2 ein bestimmter Wert steht, dass das textfeld4 eine bestimmte Formatierung hat.
Anbei mein Befehl:
Private Sub Text2_AfterUpdate(Cancel As Integer)
If Me.Text2.Value = "Auftragsnummer" Then
Me.Text4.Format = "##" / "####"
End If
End Sub
Kann mir jemand helfen?
Hallo Pahiti,
Versuche
Me.Text4.Format = "## / ####"
So sieht es jedenfalls in der OH aus.
hth
gruss ekkehard
Hallo Ekkehard,
haut leider nicht hin.
N'abend,
vielleicht kommt das Beispiel im Anhang Deinem Ziel nahe.
Harald
[Anhang gelöscht durch Administrator]