Selection.Font stops working after first loop
Show older comments

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 Comment
David Zhang
on 24 Jun 2021
Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!