필터 지우기
필터 지우기

Selection.Font stops working after first loop

조회 수: 2 (최근 30일)
David Zhang
David Zhang 2021년 6월 24일
댓글: David Zhang 2021년 6월 24일
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