Aspose::Words::Document::get_HasMacros method. Returns true if the document has a VBA project (macros) in C++....MACROBUTTON field, and reference one of the document's macros by name...macro, // our macro will be the one that the MACROBUTTON field runs...