Sub Werteeinfügen()
Dim strInput As String
Dim lngRow As Long
strInput = InputBox("Bitte Einfügeort eingeben")
If StrPtr(strInput) <> 0 Then
For lngRow = Cells(Rows.Count, 3).End(xlUp).Row To 1 Step -1
If Cells(lngRow, 3).Text = strInput Then _
Call Rows(lngRow).Resize(1).Copy
Call Rows(lngRow).Resize(1).Insert(Shift:=xlShiftDown)
Application.CutCopyMode = False
Next lngRow
End If
End Sub
Sub Werteeinfügen()
Dim strInput As String
Dim lngRow As Long
strInput = InputBox("Bitte Einfügeort eingeben")
If StrPtr(strInput) <> 0 Then
Application.ScreenUpdating = false
Application.Calculation = xlCalulationManual
For lngRow = Cells(Rows.Count, 3).End(xlUp).Row To 1 Step -1
If Cells(lngRow, 3).Text = strInput Then _
Call Rows(lngRow).Resize(1).Copy
Call Rows(lngRow).Resize(1).Insert(Shift:=xlShiftDown)
Application.CutCopyMode = False
Next lngRow
Application.Calculation = xlcalculationautomatic
Application.ScreenUpdating = True
End If
End Sub
Gruß Daniel
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Zelle As Range
If Not Intersect(Range("I1:EG800"), Target) Is Nothing Then
For Each Zelle In Intersect(Range("I1:EG800"), Target)
With Zelle
If .Value = "----" Then .Font.Size = 16
If .Value = "---" Then .Font.Size = 16
If .Value = "===" Then .Font.Size = 12
If .Value = "xxxx" Then .Font.Size = 11
End With
Next Zelle
End If
End Sub
Sub Werteeinfügen()
Dim strInput As String
Dim lngRow As Long
strInput = InputBox("Bitte Einfügeort eingeben")
If StrPtr(strInput) <> 0 Then
For lngRow = Cells(Rows.Count, 3).End(xlUp).Row To 1 Step -1
If Cells(lngRow, 3).Text = strInput Then _
Call Rows(lngRow).Resize(1).Copy
Call Rows(lngRow).Resize(1).Insert(Shift:=xlShiftDown)
Application.CutCopyMode = False
Next lngRow
End If
End Sub
Sub Werteeinfügen()
Dim strInput As String
Dim lngRow As Long
strInput = InputBox("Bitte Einfügeort eingeben")
If StrPtr(strInput) <> 0 Then
Application.ScreenUpdating = false
Application.Calculation = xlCalulationManual
For lngRow = Cells(Rows.Count, 3).End(xlUp).Row To 1 Step -1
If Cells(lngRow, 3).Text = strInput Then _
Call Rows(lngRow).Resize(1).Copy
Call Rows(lngRow).Resize(1).Insert(Shift:=xlShiftDown)
Application.CutCopyMode = False
Next lngRow
Application.Calculation = xlcalculationautomatic
Application.ScreenUpdating = True
End If
End Sub
Gruß Daniel
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Zelle As Range
If Not Intersect(Range("I1:EG800"), Target) Is Nothing Then
For Each Zelle In Intersect(Range("I1:EG800"), Target)
With Zelle
If .Value = "----" Then .Font.Size = 16
If .Value = "---" Then .Font.Size = 16
If .Value = "===" Then .Font.Size = 12
If .Value = "xxxx" Then .Font.Size = 11
End With
Next Zelle
End If
End Sub