When Document Templates associated with Projects are used, a copy of the whole document is created. The copy would include any macros, if present in template document.