Selection.Font stops working after first loop

2 visualizaciones (últimos 30 días)
David Zhang
David Zhang el 24 de Jun. de 2021
Comentada: David Zhang el 24 de Jun. de 2021
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 comentario
David Zhang
David Zhang el 24 de Jun. de 2021
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...??

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by