vba - Replace #N/A error when using R1C1 as Vlookup -


i'm using below code fast vlookup, i'm struggling when code returns "#n/a" errors.

i've tried copy , paste special in hope "n/a" treated regular text (then can replace value want), doesn't seem work.

my code follows:

lr1 = worksheets("risk explorer greeks").cells(rows.count, "i").end(xlup).row  range("j2:j" & lr1).formular1c1 = "=vlookup(rc[-1], r1c1:r50000c1, 1, false)" 

would appreciate help! ideas on how can rid of these "#n/a" errors using vba?


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -