Discover if your VbaProject is password protected with the IsProtected property. Ensure your code's security and streamline project management effectively!... Document doc = new Document ( MyDir + "Vba...protected.docm" ); Assert . That ( doc . VbaProject . IsProtected ,...