No, just Word document
- Change the page size to your envelope size.
- Set margins accordingly
- Insert a page break after each address (shift+enter)
- Insert 40 envelopes into your printer
- Press print
(Edit: Test on one first to make sure you've got the orientation right)