xlsm
Word 2007 file extensions have been changed as noted below :Type FileWord 2007 document without macros .docxWord 2007 document with macros .docmWord 2007 Template without macros .dotxWord 2007 Template with macros .dotm
Storing macros in a document template offers several advantages, including increased efficiency, consistency, and ease of use. By embedding macros within a template, users can automate repetitive tasks specific to that document type, ensuring a standardized approach across multiple instances. This also simplifies the sharing process, as others can access both the template and its associated macros. Additionally, it helps maintain organization, as all relevant tools are contained within a single file.
.docx
Macros can be stored in various ways depending on the software being used. In applications like Microsoft Excel, they can be saved within the workbook itself or in a separate macro-enabled file format (e.g., .xlsm). Additionally, macros can be stored in a personal macro workbook, allowing them to be accessible across multiple workbooks. For programming environments, macros may be stored in script files or code libraries.
DOCX is the filename extension for Microsoft Office 2007 Word documents. DOCX files do not contain macros. The old DOC extension is being phased out by Microsoft.
In enumeration, values can be generated for us but in macros we have to give value for every macro template and type checking can be done in enums.
With macros, you can perform long or boring tasks just by a single click or keystroke combination. Also, you would not need to repeat the same action over and over again.
You probably mean template. Document template is a place, where you store all of font styles shortcuts or macros. Moreover, it can contain some predefined graphics (company logo) or active elements as drop down menu.
Templates (.dot) are identical to Word (.doc) files but all of the formatting in them applies to the current document. In Word, if you create a New file and use the default then it has the normal.dot file formats. Some templates have Visual Basic macros to help you fill out the document e.g. your company name in a fax template.
By convention, all upper-case is used to identify macros and single capitals to identify template parameters. However, programmers are free to use upper-case as they see fit.
Macros are used to automate repetative tasks.
Macros are used to automate repetative tasks.