Private
Sub
ComboBox1_Change()
Worksheets(
"Tabellenköpfe"
).Unprotect Password:=
"123456"
If
ComboBox1.Value =
"Bitte auswählen"
Then
Worksheets(
"Tabellenköpfe"
).Rows(
"40:47"
).Copy Rows(
"12:19"
)
ElseIf
ComboBox1.Value =
"Intern"
Then
Worksheets(
"Tabellenköpfe"
).Rows(
"12:21"
).Copy Rows(
"12:19"
)
ElseIf
ComboBox1.Value =
"Extern"
Then
Worksheets(
"Tabellenköpfe"
).Rows(
"22:31"
).Copy Rows(
"12:19"
)
ElseIf
ComboBox1.Value =
"OneSRM"
Then
Worksheets(
"Tabellenköpfe"
).Rows(
"32:39"
).Copy Rows(
"12:19"
)
End
If
Worksheets(
"Tabellenköpfe"
).Protect Password:=
"123456"
End
Sub