Jerald uses Excel quite a bit in conjunction with Word. He creates his financial models in Excel and then pastes the Excel data into a Word document before printing. Every time he pastes the data, the “table” in Word extends beyond the right margin. Jerald wonders if there is something he can do, in Excel, to ensure that the data will stay within the page margins in Word.
There are a few ways you can approach this, with most of the solutions occurring on the Word side of the process. One option is to, in Word and before pasting, create a single-cell table that is the full width of the margins on the page. You can then paste the Excel data into that single cell, which results in Word creating a table within a table. Since the table is bounded by the outer single-cell table, it won’t extend beyond the margins of the page.
You can also, within Word, choose from different available pasting options for the table. When you copy the table in Excel and switch to Word, click where you want the data inserted. Then, display the Home tab of the ribbon and, in the Clipboard group, click the down arrow under the Paste tool. From the resulting options you should notice six options in the Paste Options area:
- To keep the data as an Excel table object, click either Keep Source Formatting or Link & Keep Source Formatting. (Note that linking is the only difference between these two options.)
- To have the data adapt to the styles available in Word, click Use Destination Styles or Link & Use Destination Styles. (Again, note that linking is the only difference between these two options.) This option should fit the data within the margins as a Word table, with data wrapped within cells as necessary.
- To paste the data as a static picture, click Picture. This option is very similar to pasting any other picture in Word, which means that it will not overrun the margins of the page. Instead, the “picture” is resized to fit within the margins.
- To paste the data as unlinked text, click Keep Text Only. This results in each row of your Excel data as an individual paragraph with tabs between each column in each row. You can then select this pasted data and covert it to a Word table that extends from margin to margin.
A third option is to try modifying a deeply buried setting in Word. Follow these steps, again within Word:
- Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In Word 2010 and Word 2013 display the File tab of the ribbon and then click Options.)
- At the left side of the dialog box choose Advanced.
- Scroll through the options until you see the Cut, Copy, and Paste section.
- Make sure the Use Smart Cut and Paste option is selected.
- Click the Settings button, next to the User Smart Cut and Paste option. Word displays the Settings dialog box. (See Figure 1.)
- Make sure the Adjust Formatting when Pasting from Microsoft Excel option is selected.
- Click OK to dismiss the Settings dialog box.
- Click OK to dismiss the Word Options dialog box.
Figure 1. The Settings dialog box in Word.
If your table extends beyond the right margin after you paste it, you could also follow these steps after the pasting:
- Right-click the table handle to display a Context menu. (The table handle is at the top-left corner of the table; it looks like a small box containing a four-headed arrow.)
- Choose AutoFit | AutoFit to Contents. Word adjusts the columns widths, as necessary, to fit the data within the margins of the page.
- Manually adjust column widths, as desired.