I have an Excel VBA application. Is it possible to figure out the directory path where my Excel application is stored using VBA code? I tried CurDir() and Application.Path, but they didn't return the correct value.
Application.Path gives the path to the (Excel) application - in my case, for example, D:\Microsoft Office 2003\Office11
What exactly do you mean when you say you have an Excel VBA application? Is it code in a workbook? or a COM AddIn? or what? ThisWorkbook.Path might work for you; if not, come back with a bit more detail.
Enjoy,
Tony
-------------------------------------------------------------------------------------------- We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at VBAExpress[
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.