3.9k Aufrufe
Gefragt in Tabellenkalkulation von
Hallo,

ich habe folgendes, wahrscheinlich total leicht zu lösendes Problem:

Ich möchte, dass bei einem Klick auf einen Button, eine Inputbox erscheint in die ich ein bestimmtes Datum (Format z.B. TT/MM/JJJJ) eintragen kann. Dieses Datum soll dann in eine bestimmte Zelle geschrieben werden.

Ich bekomme das einfach nicht hin. Vielleicht habt ihr ja eine Idee!?
Danke schonmal im Voraus.

MfG,
mcscool

2 Antworten

0 Punkte
Beantwortet von hajo_zi Experte (9.1k Punkte)
Hallo Unbekannter,

ohne Prüfung ob Datum.
Option Explicit

Sub Unbekannter()
Range("A1") = CDate(InputBox("Datum!"))
End Sub

Gruß Hajo
0 Punkte
Beantwortet von
Danke Hajo!
das funktioniert ja super!
Gruß mcscool88
...