Hi All
I would appreciate any help on my problem below
I want to pass a variable in VLookup function in VBA and keep getting and error.
I have the following
What I want for the code above is to replace HW655 WK 5 2016.xlsx] with variable Sheetname so that whatever value Sheetname has it will look at the right file for the vlookup. Sheet name has value of cell t2 in my spreadhseet which will change depending on user input
But I cant seem to be getting this right as I am not sure how to do this , every time I try it has Sheetname as string in the name and not the value of sheet name
any help is appreciate it
Bookmarks