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("H13
13"), Type:=xlFillDefault
Range("H13
13").Select
Selection.AutoFill Destination:=Range("H13
48"), Type:=xlFillDefault
Range("H13
48").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("H13
Range("H13
Selection.AutoFill Destination:=Range("H13
Range("H13
Any advise on how to correct the error would be appreciated.