Sub
UhrzeitKopieren()
Application.ScreenUpdating =
False
Sheets(
"Temperatur H57"
).Activate
Dim
Ende
As
Long
Ende = Range(
"A:A"
).SpecialCells(xlCellTypeLastCell).Row
For
i = 2
To
Ende
Cells(i, 2) = Right(Cells(i, 1), 8)
Next
i
Range(Cells(2, 2), Cells(ActiveSheet.Range(
"B999999"
).
End
(xlUp).Row, 2)).NumberFormat =
"hh:mm"
Range(Cells(2, 1), Cells(ActiveSheet.Range(
"A999999"
).
End
(xlUp).Row, 1)).
Select
Range(Cells(2, 1), Cells(ActiveSheet.Range(
"A999999"
).
End
(xlUp).Row, 1)).NumberFormat =
"DD.MM.YYYY"
Dim
Zelle
As
Range
For
Each
Zelle
In
Selection
Zelle = Left(Zelle, Len(Zelle) - 9)
Next
For
i = 2
To
Ende
Cells(i, 1) = Trim(Cells(i, 1))
Next
i
End
Sub