Problem with merging cells horizontally and vertically at the same time using actxserver in Word
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Grzegorz Diaczek
am 24 Apr. 2023
Beantwortet: Grzegorz Diaczek
am 25 Apr. 2023
Hello,
I try to handle the Word with my MATLAB script. I tried to insert a new table and merge cells like on the following example:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1365113/image.png)
Using actxserver and base commands I'm able to insert blank table and merge cells like for Header 1 or for Header 2, but I'm not able to do this operation at the same time. There is an error telling I've already merged some cells e.x. horizontally and I'm not now able to do it vertically. Is there any walkaround to obtain results like on the picture above?
Thanks for help.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Use COM Objects in MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!