GreenyMcDuff
Active Member
- Joined
- Sep 20, 2010
- Messages
- 313
Hi there,
hopefully quite a simple question:
I am trying to vlookup some values into a sheet from a workbook located in another folder
Here is what I have so far:
As you can see the lookup needs to refer to a different file each month. I am fairly sure this is just a syntaxing issue so I would be grateful to anyone who can show me the light
Thanks
Chris
hopefully quite a simple question:
I am trying to vlookup some values into a sheet from a workbook located in another folder
Here is what I have so far:
Code:
Range("H9").Select
Selection.Resize(LastRow - 8).Formula = "=vlookup(Cells(9,2).Address(False,True),'N:\Sheet1 & Format(DateSerial(Year(Now), Month(Now()) - 1, 0), "mmyy").xls Summary (Net of Fees)'!$A:$M,3,0)"
As you can see the lookup needs to refer to a different file each month. I am fairly sure this is just a syntaxing issue so I would be grateful to anyone who can show me the light
Thanks
Chris