Word objective is to move Racebase to top of the page

SteveD 705 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

Answer accepted by question author
Chloe-V 15,240 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?

2 people found this answer helpful.

Answer accepted by question author
Charles Kenyon 171.9K Reputation points Volunteer Moderator
2026-11-09T02:26:20.1366667+00:00

Upon finding Racebase, change the paragraph formatting to "Page Break Before" and it will automatically become the top of the page. You can use Replace for this. Find Racebase, replace with Racebase with the formatting set to Page Before.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

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.