How to open workbook from template without hardcoding

  • Thread starter Thread starter Michael Turner
  • Start date Start date
M

Michael Turner

Could anyone tell me how to open a workbook from another workbook, where
both files are in the same folder, without hardcoding the path. I have tried
code like this without success.
Workbooks.open (path & "\somefile.xls")
 
Michael said:
Could anyone tell me how to open a workbook from another workbook, where
both files are in the same folder, without hardcoding the path. I have tried
code like this without success.
Workbooks.open (path & "\somefile.xls")

Have you tried
Workbooks.open ("somefile.xls")
 
Back
Top