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.
Sub Gijs()
Dim LR As Long
LR = Sheets(1).Range("A" & Rows.Count).End(xlUp).Row
With Sheets(1)
.Range("I2").FormulaR1C1 = "=RC[-6]+RC[-4]"
.Range("J2").FormulaR1C1 = "=RC[-6]+RC[-3]"
.Range("K2").FormulaR1C1 = "=RC[-6]+RC[-3]"
.Range("I2:K2").AutoFill Destination:=Sheets(1).Range("I2:K" & LR)
End With
End Sub
Sub VenA()
With Cells(2, 9).Resize(, 3)
.Formula = Array("=C2+F2", "=D2+G2", "=E2+H2")
.AutoFill Range("I2:K" & Cells(Rows.Count, 1).End(xlUp).Row)
.Resize(Cells(Rows.Count, 1).End(xlUp).Row) = .Resize(Cells(Rows.Count, 1).End(xlUp).Row).Value
End With
Columns("C:H").Delete
End Sub
Sub VenA()
With Sheets("Sheet1")
lr = .Cells(Rows.Count, 1).End(xlUp).Row
With .Cells(2, 9).Resize(, 3)
.Offset(-1) = Split("kop1 kop2 kop3")
.Formula = Array("=C2+F2", "=D2+G2", "=E2+H2")
.AutoFill .Range("I2:K" & lr)
.Resize(lr - 1) = .Resize(lr - 1).Value
End With
.Columns("C:H").Delete
.Cells(1).CurrentRegion.Sort .Cells(1), , , , , , , xlYes
End With
End Sub
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.