A family of Microsoft word processing software products for creating web, email, and print documents.
Download the free open-source program Audacity from https://www.audacityteam.org/ and install it. Although Audacity can do much more, it will be simple to do what you asked for.
- Start both Audacity and Word. Open the document that contains your text.
- In Audacity, click the large Audio Setup button, choose Recording Device in the menu, and choose Speakers from the secondary menu (I think that's the default). Then click the Record button (the one with the red dot) or just press the R key.
- In Word, click at the beginning of the text you want to read, and then click Review > Read Aloud. As the text is read, you'll see the waveforms being recorded in Audacity's display.
- When the reading stops, click the Stop button (the one with the black square) in Audacity. At this time you can edit the recording if you want to, such as trimming off unwanted sound from the beginning or end.
- In Audacity, click File > Export > Export as WAV or one of the other export formats. In the dialog, enter a name and select the folder, then click Save.