Datumsformat
28.03.2008 13:07:27
michi
ich komm nicht weiter.
ein neuer zellenwert wird aus drei unterschiedlichen werten erstellt. einer davon ist das datum, dass in spalte a steht. das sieht so aus und funktioniert auch problemlos:
Dim loc As String
Dim datum As String
datum = Cells(Selection.Row, 1).Value 'immer ganz links
loc = Cells(1, Selection.Column).Value 'immer ganz oben
ActiveCell.FormulaR1C1 = datum & "_" & loc & "_" & ActiveCell.Value
wie und wo füge ich denn jetzt ein anderes datumsformat ein? Also Standartmässig ist dann bsp. 31.03.2008. Will ich aber nicht.
Könnt Ihr mir da weiterhelfen?
danke
Michi