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

조회 수: 5 (최근 30일)
Darryl Hwang
Darryl Hwang 2015년 1월 20일
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개)

카테고리

Help CenterFile Exchange에서 ActiveX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by