How to write into an existing MS Word document table ?
24 次查看(过去 30 天)
显示 更早的评论
Hello,
I use a word template document with an existing table inside.
I need to write some text inside the table, however I can not find the right command to move the selection into the table.
I use actxserver:
Word = actxserver('Word.Application');
Word.Visible = true
doc = invoke(Word.Documents,'Open','template.docx');
selection=Word.Selection;
I know the commands to create a table and then write into it, but I can not find the commands to write into an existing table.
Thanks in advance
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!