I would like to run a vlookup using VBA on a workbook when its closed, I am using this to find the workbook and referencing it later in the vlookup. However, every time I run this it is coming up with a subscript out of range error. Please help me understand why; it should be so simple and its driving me to distraction.
Dim hLog As Workbook
Set hLog = Workbooks("R:\hLog\hLogSettings.xlsm")
I have checked and rechecked the path directory.
Thanks in advance
Dim hLog As Workbook
Set hLog = Workbooks("R:\hLog\hLogSettings.xlsm")
I have checked and rechecked the path directory.
Thanks in advance