The following example uses the HelpContextID property to return the context ID for the Help file corresponding to a project.
Debug.Print Application.VBE.VBProjects(1).HelpContextID