Effortlessly remove all macros, toolbars, and custom command settings from your VBA project with the Document RemoveMacros method for a cleaner Document.... Document doc = new Document ( MyDir + "Macro...IsTrue ( doc . HasMacros ); Assert . AreEqual ( "Project" , doc . VbaProject...