A family of Microsoft word processing software products for creating web, email, and print documents.
Getting right to the point: Printing is a service of the Operating MacOS Print subsystem. The program merely calls for the service & hands off the data when it receives a positive response. It isn't unusual for printing to be affected in only certain programs based on the level of service they require.
The issue you describe typically is due to a need for updating one or more of the following:
- macOS (especially if using Tahoe)
- Office
- Print driver
See the Apple KB to Troubleshoot Printing or go directly to the article on how to Reset the printing system