Desktop User Guides > Professional > Table scripting > Exporting tables > Microsoft Word tables export > Formatting the output in Microsoft Word > Changing the Microsoft Word export orientation to landscape
 
Changing the Microsoft Word export orientation to landscape
The default Microsoft Word export template uses Portrait orientation. You can change this to Landscape in an individual Word document, or you can create your own custom template by editing the default template.
Creating a custom Word template with landscape orientation
1 Export an example table to Word, specifying an output file name and folder in the Export File Name field in the Microsoft Word Exports dialog.
2 When the export is complete, the output folder contains the exported Word document and a template file called WordTemplate.dot.
3 Open Word, and then open WordTemplate.dot (do not open the .dot file by double-clicking it, because that creates a new document).
4 Click File > Page Setup, select Landscape in the Orientation section of the Page Setup dialog, and then click OK.
5 You might also want to make other changes to the template, for example to resize or reposition the logo.
XXXSaving and using the template
1 Save and close WordTemplate.dot. You can save this template in any folder (if you export to a folder and UNICOM Intelligence Professional finds an existing WordTemplate.dot in the folder, it does not overwrite it, so your changes are not lost) but you might want to save it to the folder where all your other Word templates are stored, and give it a new name. If you rename the template and/or save it to a folder other than the output folder, you must explicitly select the template when you run the export.
2 Using UNICOM Intelligence Professional, run the export again, using the TemplateFileName property of the Export object to specify the path and filename of the amended Word template. selecting the amended Word template in the Apply Word Template field of the Export dialog.
See also
Formatting the output in Microsoft Word