Discover the VBA Reference Collection Count property to easily retrieve and manage the total number of VBA references for efficient coding....new Document ( MyDir + "VBA project.docm" ); VbaReferenceCollecti...); case VbaReferenceType . Project : return GetLibIdProjectPath...