Dear all
Can anyone spot what I am doing wrong and why this should return a 1004 run time error
any help would be gratefully received
regards
Andrew
Can anyone spot what I am doing wrong and why this should return a 1004 run time error
Code:
Set objwsk3 = Worksheets("Template")
objwsk3.Activate
objwsk3.Range("c3:c500").Formula = "=IF(NOT(ISERROR(VLOOKUP(B3,Vlookup!A:B,2,FALSE))),VLOOKUP(B3,Vlookup!A:B,2,FALSE),"")"
objwsk3.Range("g3:g500").Formula = "=IF(NOT(ISERROR(VLOOKUP(F3,Vlookup!D:E,2,FALSE))),VLOOKUP(F3,Vlookup!D:E,2,FALSE),"")"
any help would be gratefully received
regards
Andrew