Results 1 to 19 of 19

Thread: Find and highlight formatting - issue with big documents

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Quote Originally Posted by rook View Post
    Dear Greg, this is perfect, thank you! I can't tell you how much time I have spent trying to figure this out... and you made it look so elegant and easy! THANK YOU, and thank you for all the follow-ups!!!
    Hi guys... me again Do you have any advice on how to make the macro search through the "text frames" (drawing objects)? Further testing showed that I get error when text is in the frame - I either get: "The HighlightColorIndex method or property is not available because the object refers to the drawing object". In other cases I don't get this error, but the text in the frame doesn't get highlighted.

    I tried adding wdTextFrameStory (5) but it didn't help.

    [Edit - ignoring text frames is also a possibility, just so it wouldn't stop the macro]

    Any tip will be appreciated!
    Last edited by rook; 07-02-2020 at 07:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •