kan iemand mij vertellen waarom de macro vastloopt op de aangeduidde lijn?
foutmelding: runtime error "1004": application defined of object defined error
dank u
Stijn
foutmelding: runtime error "1004": application defined of object defined error
dank u
Stijn
Code:
Sub Print_Voederschema()
Dim rij, kolom As Long
Dim fase_nr, fase_voeder, fase_kg, vw As Variant
rij = 1
kolom = 1
vw = Cells(1, 1)
fasenr = "Fase 1"
Do Until vw = [D32]
kolom = kolom + 1
[COLOR="darkorange"] vw = Cells(rij, kolom)[/COLOR]
Loop
Range("b40").Select
ActiveCell.FormulaR1C1 = kolom
End Sub