To regulate when your macros run, you'll be able to assign them to certain functions within Excel, for example opening a workbook, changing a sheet, or clicking a button. That is completed through the VBA editor, in which you can produce celebration-handler techniques that induce your macros. I found a https://www.customguide.com/word/table-of-contents-word