V
Vacuum Sealed
Hi All
I would like to implement a value lookup from a range using VBA, not a cell
formula.
Was toying with something like:
for I = 6 to 3000
for J = 6 to 3000
Sheets("MAIN DATA").Range("AG" & i).Value = LOOKUP( 'SUPPORT
DATA'!$D$11:$J$1000,'SUPPORT DATA'!$G$11:$G$1000, 'MAIN DATA'.Range("I" &
J))
Sheets("MAIN DATA").Range("AH" & i).Value = LOOKUP( 'SUPPORT
DATA'!$D$11:$J$1000,'SUPPORT DATA'!$H$11:$H$1000, 'MAIN DATA'.Range("I" &
J))
Next I
Next J
Of course, I am acutely aware the syntax is way wrong, just hoping someone
can rearrange it so it can make sense..
Thanks heaps
Mick.
I would like to implement a value lookup from a range using VBA, not a cell
formula.
Was toying with something like:
for I = 6 to 3000
for J = 6 to 3000
Sheets("MAIN DATA").Range("AG" & i).Value = LOOKUP( 'SUPPORT
DATA'!$D$11:$J$1000,'SUPPORT DATA'!$G$11:$G$1000, 'MAIN DATA'.Range("I" &
J))
Sheets("MAIN DATA").Range("AH" & i).Value = LOOKUP( 'SUPPORT
DATA'!$D$11:$J$1000,'SUPPORT DATA'!$H$11:$H$1000, 'MAIN DATA'.Range("I" &
J))
Next I
Next J
Of course, I am acutely aware the syntax is way wrong, just hoping someone
can rearrange it so it can make sense..
Thanks heaps
Mick.