How do I open the Header/Footer in a Word programatically from MATLAB?
Mostrar comentarios más antiguos
I have code to open up a word document and edit the body of the document; however I don't know how to open/edit the header/footer. Does anyone know how to do this?
Respuesta aceptada
Más respuestas (1)
Philipp
el 14 de Oct. de 2024
0 votos
I am trying to use this code, but there are some issues.
I have an existing word template which I want to reuse. It has already an header inside it.
When coding hSections=hDoc.Sections.Add; I get an unwanted new section into my word file.
Without it Headers is an unrecognized funciton or variable.
Maybe you can help on how to get access to an existing header without changing the rest of the word file?
Categorías
Más información sobre ActiveX en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!