Share via

Shifting Text

Anonymous
2022-02-16T19:16:39+00:00

I have a Word document set up that contains bookmarks.

There is a line of text following one of these bookmarks

that has to line up with a line under it. When I insert the

bookmarks with VBA this text shifts to the left. I have to

go into the final document and insert spaces. How can

I anchor the text?

Microsoft 365 and Office | Word | For business | 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

1 answer

Sort by: Most helpful
  1. Jay Freedman 207.7K Reputation points Volunteer Moderator
    2022-02-16T19:33:40+00:00

    To be able to tell what's happening, we'll need to see the code you're running, or at least the part that inserts the bookmark (if the code is long). It will also help to see screen shots of the same lines before and after running the code, preferably with nonprinting characters turned on (by the ¶ button).

    Was this answer helpful?

    0 comments No comments