Pasting Excel Data within Word's Page Margins

by Allen Wyatt
(last updated January 14, 2019)

2

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:

  1. 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.)
  2. At the left side of the dialog box choose Advanced.
  3. Scroll through the options until you see the Cut, Copy, and Paste section.
  4. Make sure the Use Smart Cut and Paste option is selected.
  5. Click the Settings button, next to the User Smart Cut and Paste option. Word displays the Settings dialog box. (See Figure 1.)
  6. Figure 1. The Settings dialog box in Word.

  7. Make sure the Adjust Formatting when Pasting from Microsoft Excel option is selected.
  8. Click OK to dismiss the Settings dialog box.
  9. Click OK to dismiss the Word Options dialog box.

If your table extends beyond the right margin after you paste it, you could also follow these steps after the pasting:

  1. 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.)
  2. Choose AutoFit | AutoFit to Contents. Word adjusts the columns widths, as necessary, to fit the data within the margins of the page.
  3. Manually adjust column widths, as desired.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13288) applies to Microsoft Excel 2007, 2010, and 2013.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Formatting Combo Box Text

If you insert objects, such as a combo box, in your worksheet, you may need a way to modify the font used in the object. ...

Discover More

Converting a Range of URLs to Hyperlinks

Converting a single URL into a hyperlink is easy. Converting hundreds or thousands can be much harder if you have to rely ...

Discover More

Skipping Hidden Rows in a Macro

As your macro processes information in a worksheet, you may want to make sure that it skips over rows that are hidden. ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Automatically Breaking Text

Want to convert the text in a cell so that it wraps after every word? You could edit the cell and press Alt+Enter after ...

Discover More

Character Limits for Cells

Excel places limits on how much information you can enter into a cell and how much of that information it will display. ...

Discover More

Extracting Numbers within a Range

If you have a large number of values in a column, you may want to move the values that meet specific criteria to another ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 - 4?

2019-06-05 09:56:19

David Steinberg

Dear Allen,

I have an Excel worksheet that has about 21 columns with more than 800 rows. Some of the columns are quite wide.

I want to convert the spreadsheet to Word, but have the rows become vertical instead of horizontal.

Is this possible to do?


2016-12-12 09:23:44

Rocco

Just what I needed to know. Other sites didn't help me like yours did.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.