2.1.1366 Part 1 Section 20.5.2.16, graphicFrame (Graphic Frame)

a.   The standard states that the values of the macro attribute are defined by the XML Schema string datatype.

Office requires that the macro attribute value follow the same grammar as name-references ("[ISO/IEC-29500-1] §18.17.2.5") with a minimum length of 0 characters and a maximum length of 256 characters.