Word objective is to move Racebase to top of the page

SteveD 685 Reputation points
2026-11-07T21:44:03.0533333+00:00

Hello From

I have text "Racebase" I need to go to the top of same page please, using vba.

Racebase is halfway down the page.

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Chloe-V 15,080 Reputation points Microsoft External Staff Moderator
    2026-11-08T03:45:32.0533333+00:00

    Hi @SteveD

    You can use a VBA macro to locate “Racebase” and move the paragraph containing it to the top of the same page.

    The macro should first find the text, determine which page it is on, and then cut and paste the entire paragraph at the beginning of that page. Please note that moving the paragraph may cause the surrounding text to reflow, so I recommend testing the macro on a backup copy of the document first.

    If you want to move only the word “Racebase” rather than the entire paragraph, please let us know.


    If the answer is helpful, please click "Yes". If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.