Anne Troy
MrExcel MVP
- Joined
- Feb 18, 2002
- Messages
- 2,632
- Office Version
- 365
- Platform
- Windows
Simply cannot figure out what's wrong. Debug just highlights the whole line. I forget when/where I need double quotes... THANKS!!
Oh, and I just need the formula!
Oh, and I just need the formula!
VBA Code:
Sub GetZips()
Dim LastRowColumnA As Long
LastRowColumnA = Cells(Rows.Count, 1).End(xlUp).Row
Range("B2:B" & LastRowColumnA).Formula = "=ISNA(VLOOKUP(A2,datatable,2,0),"Not Found",VLOOKUP(A2,datatable,2,0))"
End Sub
Last edited: