I have written an Excel VBA macro which imports data from a HTML file (stored locally) before performing calculations on the data.
At the moment the HTML file is ref
You could use one of these for the relative path root:
ActiveWorkbook.Path ThisWorkbook.Path App.Path