Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Privacywetgeving
Het is bij Helpmij.nl niet toegestaan om persoonsgegevens in een voorbeeld te plaatsen. Alle voorbeelden die persoonsgegevens bevatten zullen zonder opgaaf van reden verwijderd worden. In de vraag zal specifiek vermeld moeten worden dat het om fictieve namen gaat.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Firstrow As Long
Dim Lastrow As Long
Dim Lrow As Long
Dim calcmode As Long
Dim ViewMode As Long
With Application
calcmode = .Calculation
.Calculation = xlCalculationManual
.ScreenUpdating = False
End With
With Sheets("blad2")
.Select
Firstrow = .UsedRange.Cells(1).Row
Lastrow = .UsedRange.Rows(.UsedRange.Rows.Count).Row
For Lrow = Lastrow To Firstrow Step -1
With .Cells(Lrow, "b")
If Not IsError(.Value) Then
If .Value > 5 Then .EntireRow.Delete
End If
End With
Next Lrow
End With
With Application
.ScreenUpdating = True
.Calculation = calcmode
End With
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Firstrow As Long
Dim Lastrow As Long
Dim Lrow As Long
Application.ScreenUpdating = False
With ActiveSheet
Firstrow = .UsedRange.Cells(1).Row
Lastrow = .UsedRange.Rows(.UsedRange.Rows.Count).Row
For Lrow = Lastrow To Firstrow Step -1
If Cells(Lrow, "b").Value > 5 And Cells(Lrow, "c").Value = 10 Then Rows(Lrow).Delete
Next Lrow
End With
Application.ScreenUpdating = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
sq = ActiveSheet.UsedRange
For j = LBound(sq) To UBound(sq)
If Cells(j, "B").Value > 5 And Cells(j, "C").Value = 10 Then Rows(j).Delete
Next
Application.ScreenUpdating = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
sq = ActiveSheet.UsedRange
For j = LBound(sq) To UBound(sq)
If [COLOR="Blue"]sq[/COLOR](j, 2) > 5 And [COLOR="blue"]sq[/COLOR](j, 3) = 10 Then Rows(j).Delete
Next
Application.ScreenUpdating = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.ScreenUpdating = False
sq =sheets("Bon").UsedRange.columns(2)
For j = 1 To UBound(sq)
sheets("Opslag").columns(1).replace sq(j, 1),""
Next
sheets("Opslag").specialcells(xlcelltypeblanks).entirerow.delete
Application.ScreenUpdating = True
End Sub
Sub celwissen()
Application.ScreenUpdating = False
sq = Sheets("Bon").Columns(2).SpecialCells(xlCellTypeConstants)
For j = 1 To UBound(sq)
Sheets("Opslag").Columns(1).Replace sq(j, 1), ""
Next
Sheets("Opslag")[COLOR="Red"].Columns(1)[/COLOR].SpecialCells(xlCellTypeBlanks).EntireRow.Delete
Application.ScreenUpdating = True
End Sub
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.