Replace text in word document by VBScript

It’s not clear how your code is going, but if you want to replace it, try something like this:

  1. Script
    image

  2. Before Run
    image

  3. After Run
    image

PS. If it’s a space issue, you can also do this:
The value was entered, but it may be invisible due to the cell size. In that case, use Autofit.

image
image

2 Likes