Problem with merging cells horizontally and vertically at the same time using actxserver in Word
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Grzegorz Diaczek
il 24 Apr 2023
Risposto: Grzegorz Diaczek
il 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.
2 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Use COM Objects in MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!