online 1
gast (50)

/ Forum / Tabellenkalkulation

TabellenkalkulationTabellenkalkulation

Fragevon Mr.A vom 02.04.2020, 23:06 Options

Date

Hallo,

Textbox3 Date funktioniert nicht. Was mache ich falsch ?

Private Sub UserForm_Initialize()
TextBox1.Value = Application.UserName
End Sub

Private Sub TextBox2_Change()
TextBox2.Value = Time
End Sub

Private Sub TextBox3_Change()
TextBox3.Value = Date
End Sub

Private Sub UserForm_Activate()
Do
DoEvents
TextBox2.Value = Time
Loop
End Sub


Antwort schreiben

Antwort 1 von Hajo_Zi vom 03.04.2020, 06:38 Options

Hallo Nick,

Date, Left usw fehlt
http://www.ms-office-forum.net/forum/showthread.php?t=148516

Gruß Hajo

Antwort 2 von varginator vom 03.04.2020, 08:18 Options

Hallo Mr. A,

versuchs mal mit
TextBox3.Value = Format(Now, "dd.mm.yy")
Wenn ich es richtig verstanden habe, willst du das aktuelle Datum (evtl. ändern des Formats)

Gruß Simon

Antwort 3 von Mr.A vom 03.04.2020, 08:56 Options

Hallo Simon ,

ich möchte es nur angezeigt bekommt.

ich muss immer erst in Textbox3 anklicken u. die leertaste betätigen, damit es angezeigt bekomme

Gruß, Mr. A

Antwort 4 von varginator vom 03.04.2020, 09:05 Options

Hallo Mr. A,

versuchs mal mit:
Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
TextBox3.value = Format(Now, "dd.mm.yy")
End Sub
Gruß Simon

Antwort 5 von Mr.A vom 03.04.2020, 09:17 Options

Hallo Simon,

funktioniert SUPER !!

Danke
Danke
Danke
Danke
Danke
Danke
Danke
Danke
Danke
Danke
Danke
Danke


Ihr seid die besten !!!

Ähnliche Themen

include --- je nach datum eine andere text datei einlesen
timoxy  05.04.2007 - 101 Hits - 6 Antworten

anzahl tage in bezug auf datum
bubi_p  05.10.2007 - 119 Hits - 1 Antwort

wie ist die serienummer von die sims hot date
joanne  23.03.2008 - 100 Hits - 1 Antwort

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Thu Jan 8 21:07:44 2026