R
Ronbo
I have a formula;
=IF(ISNA(VLOOKUP($A13&H$10,'PC
INPUT'!$A:$G,7,FALSE)),"0",(VLOOKUP($A13&H$10,'PC INPUT'!$A:$G,7,FALSE)))
I need to put the formula into VBA but I get a application/object define
error with the following code;
Range("H13").Select
ActiveCell.Formula = "=IF(ISNA(VLOOKUP($A13&H$10,'PC
INPUT'!$A:$G,7,FALSE)),0,(VLOOKUP($A13&H$10,'PC INPUT'!$A:$G,7,FALSE))"
Selection.AutoFill Destination:=Range("H1313"), Type:=xlFillDefault
Range("H1313").Select
Selection.AutoFill Destination:=Range("H1348"), Type:=xlFillDefault
Range("H1348").Select
Any advise on how to correct the error would be appreciated.
=IF(ISNA(VLOOKUP($A13&H$10,'PC
INPUT'!$A:$G,7,FALSE)),"0",(VLOOKUP($A13&H$10,'PC INPUT'!$A:$G,7,FALSE)))
I need to put the formula into VBA but I get a application/object define
error with the following code;
Range("H13").Select
ActiveCell.Formula = "=IF(ISNA(VLOOKUP($A13&H$10,'PC
INPUT'!$A:$G,7,FALSE)),0,(VLOOKUP($A13&H$10,'PC INPUT'!$A:$G,7,FALSE))"
Selection.AutoFill Destination:=Range("H1313"), Type:=xlFillDefault
Range("H1313").Select
Selection.AutoFill Destination:=Range("H1348"), Type:=xlFillDefault
Range("H1348").Select
Any advise on how to correct the error would be appreciated.