Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Project Name

Status
Not open for further replies.

iwells

Programmer
Oct 2, 2012
284
CA
Hi All,

I can't seem to find a non-Excel 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 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.
 
Is there a reference that needs to be added for this?
 
I'm using 6.3 version 9971 which says VBA Retail 6, 4.9970 ... I'm using the macro editor in Sage 300
 
Ah, Sage, Not sure that Sage supports the necessary extensions to the IDE. Try adding a reference to Microsoft Visual Basic for Applications Extensibility.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top