iliekater Level: Master
 Registered: 04-02-2005 Posts: 123
|
Finding a folder with VBA
Lately I am using the CurDir statement ( or function or whatever is called) to get a specific folder . Actually I am trying to find the installation path of the program in which I execute the VBA application . Usually , the CurDir statement gives the correct path , but often I get the "My Documents" path ... The truth is that I don't really understand what the current directory is , so most probably the CurDir should not even be used in my case . So , does anyone know how to find the installation path of the program in which a VBA application run ?
In case you wonder , I am using VBA for AutoCAD (so , if you like , you can even provide me the Lisp code instead of the VBA's one !) .
I wish you help me , afterall the program I am making is going to be free , so we should make it !
[Edited by iliekater on 06-12-2006 at 04:33 AM GMT]
|