Private
Sub
cmd_backend_tab1_Click()
Sheets(
"Backend"
).
Select
End
Sub
Private
Sub
cmd_personal_tab1_Click()
Sheets(
"Personal"
).
Select
End
Sub
Private
Sub
cmd_verwaltung_tab1_Click()
Sheets(
"Verwaltung"
).
Select
End
Sub
Sub
search_Change()
Dim
strWert
As
String
Dim
strSuche
As
String
Dim
rngFound
As
Range
Dim
rngFound1
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
Dim
i
As
Integer
strWert = Tabelle1.search
strWert = Replace(strWert,
" "
,
""
)
strSuche = strWert
Set
rngFound = Columns(4).Find(What:=strSuche, After:=Cells(Rows.Count, 4), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
If
Tabelle1.search <>
""
Then
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(0, 154, 205)
Cells(wzeile(2),
"AA"
) =
"."
Set
rngFound = Columns(4).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(0, 154, 205)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
Tabelle1.search =
""
Then
Set
rngFound = Columns(
"AA"
).Find(What:=
"."
, After:=Cells(Rows.Count,
"AA"
), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Cells(wzeile(2),
"AA"
) =
"."
Set
rngFound = Columns(
"AA"
).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Cells(wzeile(2),
"AA"
) =
"."
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Software_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Software
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Software"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Software"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Hardware_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Hardware
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Hardware"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Hardware"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Gaming_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Gaming
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Gaming"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Gaming"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Grafikdesign_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Grafikdesign
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Grafikdesign"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Grafikdesign"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Musik_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Musik
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Musik"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Musik"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Programmierung_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Programmierung
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Programmierung"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Programmierung"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
WBB_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.WBB
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Burning Board"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Burning Board"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub
Private
Sub
Joomla_change()
Dim
wert
As
Boolean
Dim
rngFound
As
Range
Dim
strFirstAddress
As
String
Dim
strNextAddress
As
String
Dim
zeile
As
Variant
Dim
wzeile
As
Variant
wert = Tabelle1.Joomla
If
wert =
True
Then
Set
rngFound = Columns(7).Find(What:=
"Joomla"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 64, 64)
Loop
While
rngFound.Address <> strFirstAddress
End
If
If
wert =
False
Then
Set
rngFound = Columns(7).Find(What:=
"Joomla"
, After:=Cells(Rows.Count, 7), LookIn:=xlValues, LookAt:=xlWhole)
If
rngFound
Is
Nothing
Then
Exit
Sub
End
If
strFirstAddress = rngFound.Address
Do
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Set
rngFound = Columns(7).FindNext(rngFound)
wzeile = Split(rngFound.Address,
"$"
)
zeile =
"B"
& wzeile(2) &
":"
&
"G"
& wzeile(2)
Range(zeile).Interior.Color = RGB(255, 255, 255)
Loop
While
rngFound.Address <> strFirstAddress
End
If
End
Sub