Sub
Worksheet_Change(
ByVal
Target
As
Range)
If
Not
Intersect(Target, Range(
"k9:k47"
,
"i9:i47"
))
Is
Nothing
And
Target.Count = 1
Then
ThisWorkbook.Worksheets(
"Berechnungstool"
).Unprotect
strZelle = Target.Address
strPuffer = Cells(Target.Row, Target.Column - 2).Address
strt_FSRest = Cells(Target.Row, Target.Column + 10).Address
strT_FS = Cells(Target.Row, Target.Column + 11).Address
strA_RestFS = Cells(Target.Row, Target.Column + 12).Address
strt_SSRest = Cells(Target.Row, Target.Column + 13).Address
strT_SS = Cells(Target.Row, Target.Column + 14).Address
strA_RestSS = Cells(Target.Row, Target.Column + 15).Address
strt_Akt = Cells(Target.Row, Target.Column + 7).Address
strDatAkt = Cells(Target.Row, Target.Column + 6).Address
strAPlan_FS = Cells(Target.Row, Target.Column - 8).Address
strAPlan_SS = Cells(Target.Row, Target.Column - 7).Address
strRW_Band = Cells(Target.Row, Target.Column + 1).Address
strRW_Puffer = Cells(Target.Row, Target.Column - 1).Address
strRW_Total = Cells(Target.Row, Target.Column + 2).Address
strVerReal = Cells(Target.Row, Target.Column + 5).Address
strVerRealTot = Cells(Target.Row, Target.Column + 16).Address
intAPlan_FS = Worksheets(
"Berechnungstool"
).Range(strAPlan_FS).Value
intAPlan_SS = Worksheets(
"Berechnungstool"
).Range(strAPlan_SS).Value
Worksheets(
"Berechnungstool"
).Range(strt_Akt).Value = Right(Now(), 8)
datt_Akt = Right(Now(), 8)
Worksheets(
"Berechnungstool"
).Range(strDatAkt).Value =
Date
datDatAkt =
Date
Call
TW_FS_Rest
Call
TW_SS_Rest
Call
Reichweitenrechnung
Call
Reichweitenrechnung_Total
ThisWorkbook.Worksheets(
"Berechnungstool"
).Range(
"N9:N47"
).Copy
Range(
"o9:o47"
).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=
False
, Transpose:=
False
Application.CutCopyMode =
False
ThisWorkbook.Worksheets(
"Berechnungstool"
).Range(
"A8:AD47"
).Sort _
Key1:=Range(
"O8"
), Order1:=xlAscending, _
Header:=xlYes
ThisWorkbook.Worksheets(
"Berechnungstool"
).Protect
Worksheets(
"Berechnungstool"
).Range(strZelle).
Select
End
If
End
Sub