Sub
test()
Application.EnableEvents =
False
Application.ScreenUpdating =
False
Application.DisplayAlerts =
False
Dim
a
As
Double
a = 1
For
i = 11
To
95000
If
Sheets(
"Freigegebene Tagessummen"
).Cells(i, 1).Value <>
""
Then
For
y = 1
To
65
Sheets(
"Tabelle1"
).Range(
"A"
& a &
":G"
& a).Value = Sheets(
"Freigegebene Tagessummen"
).Range(
"A"
& i &
":G"
& i).Value
Sheets(
"Tabelle1"
).Cells(a, 8).Value = Sheets(
"Freigegebene Tagessummen"
).Cells(8, 7 + y).Value
Sheets(
"Tabelle1"
).Cells(a, 9).Value = Sheets(
"Freigegebene Tagessummen"
).Cells(i, 7 + y).Value
a = a + 1
Next
y
End
If
Next
i
Application.EnableEvents =
True
Application.ScreenUpdating =
True
Application.DisplayAlerts =
True
End
Sub