Update TOC using macro
- This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › WordprocessingML › Update TOC using macro
Hi @sliu,
At the time I was working on that screen-cast series, I got diverted to another project, and never recorded the approach using a macro enabled document, and I’m afraid I don’t remember the details. But I still believe it to be possible to create a macro-enabled document. See the following:
Cheers, Eric
I tried macro enabled Word document. I created AutoOpen and AutoExec macros in my docm. However the macros are not called when Word document opens. I don’t know how to invoke the macros automatically. So I will keep the macro in normal.dotm.
Thanks
Just checking – the macro name should be Auto_Open, not AutoOpen.
It may be that Microsoft has completely removed this feature due to security concerns.
I tried AutoOpen in .dotm. It doesn’t work. I’m using Office 2016. I think Microsoft has removed this feature. I just save the macro in Normal.dotm. This still works.
Thanks for your help!