Hi All,
I can't seem to find a non-Excel/Sage applicable version of this question/answer, so I'm creating a post where I'd like to know how it's possible to programmatically determine the name of the project (located in the project explorer or tools-project properties-project name)?
I'm trying to do some general error logging and rather than hardcode/modify the project name in every project I'd rather just write a module and include it in each project that reads and assigns the project name to a Public variable I can reference in the error handling routine.
I've seen examples of VBE.ActiveVBProject.Name, but this doesn't seem to work in the Sage VBA editor ... suggestions?
I can't seem to find a non-Excel/Sage applicable version of this question/answer, so I'm creating a post where I'd like to know how it's possible to programmatically determine the name of the project (located in the project explorer or tools-project properties-project name)?
I'm trying to do some general error logging and rather than hardcode/modify the project name in every project I'd rather just write a module and include it in each project that reads and assigns the project name to a Public variable I can reference in the error handling routine.
I've seen examples of VBE.ActiveVBProject.Name, but this doesn't seem to work in the Sage VBA editor ... suggestions?