S
sjoerd.jump
Hi there,
I could use some help on the following problem.
I have this code to paste a formula to a range.
and it works!
ub Loop1()
Dim rListPaste As Range
Dim i As Long
Set rListPaste = Sheet3.Range("b2", "b1000")
' This loop runs until there is nothing in the next column
rListPaste.Formula = "=VLOOKUP(Sheet1!$A2,FIXEL!$B:$C,2,)"
End Sub
BUT
the range isnt allways till "b1000" it also can be 10 or 100.
so, how do i code this? i only want to copy the code to "where there
is data in collum A"
thanks in advance
kind regards
Sjoerd
I could use some help on the following problem.
I have this code to paste a formula to a range.
and it works!
ub Loop1()
Dim rListPaste As Range
Dim i As Long
Set rListPaste = Sheet3.Range("b2", "b1000")
' This loop runs until there is nothing in the next column
rListPaste.Formula = "=VLOOKUP(Sheet1!$A2,FIXEL!$B:$C,2,)"
End Sub
BUT
the range isnt allways till "b1000" it also can be 10 or 100.
so, how do i code this? i only want to copy the code to "where there
is data in collum A"
thanks in advance
kind regards
Sjoerd