How can I highlight replaced text in a Microsoft Word Document using MATLAB?
Show older comments
I am writing a script using the MATLAB 'actxserver' object to create a Word Application COM Server to work with a Word Document like so:
word = actxserver('Word.Application');
word.Documents.Open(fpath);
I am trying to find instances of a string in the document, replace them all with a different string, and highlight the new instances of the replaced word. How can I do this?
Accepted Answer
More Answers (0)
Categories
Find more on Use COM Objects in MATLAB 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!