Print text using Microsoft Word
Version 1.0.0.0 (2.35 KB) by
Pierre Bulens
Print files that can open in Word, using a Word COM server.
[Word, msg] = LE_printViaWord(fileNames)
The function launches a Word COM server, opens and prints the given files.
The COM server handle is returned as first output argument (Word), and the user is advised to exit the server by typing Quit(Word) in the MATLAB command window.
Calling the function without input argument allows the user to select a file.
Example of use :
[Word, msg] = LE_printViaWord;
Quit(Word)
Please read the help text.
Cite As
Pierre Bulens (2026). Print text using Microsoft Word (https://www.mathworks.com/matlabcentral/fileexchange/6231-print-text-using-microsoft-word), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Use COM Objects in MATLAB in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
