How can I use ActiveX to make Word 2010 format a table cell?

1 次查看(过去 30 天)
I'm having some issues with using ActiveX COM interface with Word 2010. So far, I am able to generate a table in the following way.
word = actxserver('word.application');
set(word,'visible',1);
doc1 = invoke(word.documents,'add');
doc1.Tables.Add(word.Selection.Range, 3,4,1,1);
How can I set properties of individual cells? For example, if I want to erase the boards of cell(2,3).
Thank you, Darryl Hwang

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by