Share via

a problem with "find and Replace"

Anonymous
2019-07-14T13:26:33+00:00

Hi

I have a text with some text boxes and footnotes.

I have to use "find and Replace" to do some changes before paragraph marks. For example, search for points at the end of paragraphs.

I know that "find and Replace" does not work well for paragraph marks in footnotes.

The question is this: I want to know the number of replacements in text and text boxes.

But the problem is:

1-      If I use "search all" and then "Replace all", the replacements are done in text and text boxes, but the number of replacements is not shown.

2-      If I use "search down" and then "Replace all", the replacements are done only in text, not in text boxes, and the number of replacements are shown.

Is there a way to have replacements in text and text boxes together, and have the number of replacements shown, too?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Jay Freedman 207.7K Reputation points Volunteer Moderator
2019-07-15T00:45:26+00:00

You would need to combine the first macro in https://wordmvp.com/FAQs/MacrosVBA/GetNoOfReplacements.htm with the macro in https://wordmvp.com/FAQs/Customization/ReplaceAnywhere.htm.  (If you don't care about the other "stories" in the document, such as headers and footers, the latter macro can be restricted to the stories wdMainTextStory, wdFootnotesStory, and wdTextFrameStory.)

If you aren't familiar with the macro language (VBA), post in the Office programming section of the forum, https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-msoffice_custom, and explain exactly what you need to do. You can link back to this thread.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2019-07-15T01:55:31+00:00

    Dear Jay

    Hi

    Thank you for your reply.

    I have to try to get familiar with the macro language (VBA), off course. 

    I hoped it could be done more easily. 

    Regards

    Was this answer helpful?

    0 comments No comments