ProjectName – The name of the current project

ProjectName – The name of the current project

'  Returns the name of the current project' The first time it's called it clears the error code'Function ProjectName() As String    Static result As String    If Len(result) = 0 Then        On Error Resume Next        ' cause a dummy, harmless error        Err.Raise 999        ' retrieve the project name from the Err.Source property        result = Err.Source        On Error GoTo 0    End If    ProjectName = resultEnd Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist