Within the "Save as" window choose "Word Macro-Enabled Document" in the Save as type drop down list. Note: Now save your document with the macro to retrieve your document with the macro later.Ĭlick on the "File" tab and choose "Save as". Now you can execute the recorded macro by using the shortcut key or use "Run" in the macros drop down list. Note : you can also "pause" the macro and later resume. Removing the ZoneID value will allow VBA macros to run by default. You can use the Unblock-File cmdlet in PowerShell to remove the ZoneID value from the file. But if the ZoneID is 3, macros in that file will be blocked by default. For example:Īfter writing the text you need to "Stop recording Macros" for this go to the "View" Tab and choose "Stop recording" within the Macros group. For example, if the ZoneID is 2, VBA macros in that file won't be blocked by default. Now write the text that you need to repeat. Write the Proper name of the macro within the Macro Name text box and click on the "Keyboard" button to add a Shortcut key for the macro (use this shortcut key later to run the macro).Įnter the combination of keys of the shortcut, like Alt + Ctrl + O and then click on the "Assign" button. Now click on the "Macros drop down list " and choose "Record Macro". Open you Word document and click on the "View Tab". To implement a macro use the following procedure. To use this feature you just need to record a macro to do your repetitive work in Word 2013 and use it over and over in the future. When you write a long document in a Word 2013, it is possible that you must repeat the same text over and over again, and this process (writing the same text) can consume a lot of time, so Microsoft Word provides the feature to relieve you from doing that and save time. Configuration to disable the Office macro engine For each of Access, Excel, PowerPoint, Project, Visio and Word: User Configuration > Administrative Templates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |