Selection.Font stops working after first loop

2 次查看(过去 30 天)
Here is the code I used, there is more in the loop after this, but this is the part thats not working. On the first loop it would produce something like this in word:
but then every loop after that the font size and color would be gone:
Any clue to why this might be happening?
  1 个评论
David Zhang
David Zhang 2021-6-24
I'm not sure how it happened but when I was fixing spacing in the loop I added a few MoveRights and TypeParagraphs at the end of each loop and for some reason it fixed itself...??

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by