Set text direction and position in a shape or text box in Word

Specify text direction in a shape or text box. In a shape or text box, you can change the direction in which text is read. That is, you can pivot text 90 or 270 degrees so that it appears sideways. Right-click the edge of the shape or text box. On the shortcut menu, select Format Shape.

https://support.microsoft.com/en-us/office/set-text-direction-and-position-in-a-shape-or-text-box-in-word-71406c17-add2-407e-a74a-10e2096136ec