Justin8506
New Member
- Joined
- Apr 7, 2022
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
Hi There
How do I create a dynamic vlookup vba. Got stuck at creating a dynamic vlookup vba code. Below was the initial code.
How do I create a dynamic vlookup vba. Got stuck at creating a dynamic vlookup vba code. Below was the initial code.
VBA Code:
Sub Vlookup()
Range("K2") = "=VLOOKUP(RC[-5], ('C:\Users\Desktop\Aging report\Mar22\[Book1.xlsx]Sheet3'!R2C5:R100C9),5,FALSE)"
End Sub