Record macro: "Find & Replace" function does not work

Jürgen Valentin 1 Reputation point
2021-10-29T19:44:21.947+00:00

Hello!
I am desperate to record a macro with the "Find & Replace" function in Word. But it doesn't work.
During the recording process, I can easily find and replace words, paragraph marks, etc.
But if I want to run the macro, it doesn't work. The procedure does not appear in the VBA log either.
Where is the mistake?

{count} votes

2 answers

Sort by: Most helpful
  1. John Korchok 4,926 Reputation points
    2021-10-29T21:54:26.377+00:00

  2. Jürgen Valentin 1 Reputation point
    2021-10-30T09:25:22.277+00:00

    Hello!
    Many thanks for the answer.
    I've tried for a long time and now I've found a solution.
    The problem is that I shouldn't start the "Find and Replace" function right after starting the macro recording.
    If I first enter some text, which I then delete again, the "Find-Replace" function will then also work.
    This is probably an amateur solution to the problem, but it works.
    But maybe you have a better and more professional solution, which of course interests me very much.
    Many greetings

    0 comments No comments