Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Can't Copy Data between Workbooks.

Can't Copy Data between Workbooks

Written by Allen Wyatt (last updated March 22, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


2

Neil has Excel installed on several PCs in his office. On most of these he can copy data from one workbook to another workbook with no problems. On one of the PCs, although he can copy data from one worksheet to another worksheet in the same workbook, Neil cannot copy data to a different workbook.

More than likely this has to do with how the two workbooks are opened on the problem machine. If you open the workbooks in two different instances of Excel, then copying and pasting between instances is not the same as when the workbooks are opened in the same instance. If you open the two workbooks in different instances of Excel, then when you go to paste information into the target workbook, you get the results of whatever formulas you are copying instead of the original formulas. (This is just one example; there are other pasting differences as well.)

The solution is to make sure that the workbooks are opened in the same instance of Excel. The easiest way to do this is to make sure that once the first workbook is open, you open the second workbook by using the Open dialog box within Excel. If you, instead, use the Windows Start menu or a Desktop icon to open the second workbook, you are opening a second instance of the program.

If this doesn't solve the problem for you, then you should make sure that there is no macro running in the target workbook or worksheet when it is activated. Look for code in the ThisWorkbook module and any other worksheet module in the target workbook's VBA project. If you do find a macro there, then it could be that the macro is altering what is in the Clipboard or clearing it out entirely. You'll need to do some detective work to figure out if this is the case.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8034) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Can't Copy Data between Workbooks.

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

Modifying the Backup Copy File Name

Backup files, created automatically by Word, have the filename extension WBK and start with the words "Backup of." If you ...

Discover More

Counting Cells with Specific Characters

Excel is used by many people to hold all sorts of data, not just numbers. If you have cells that include meaningful ...

Discover More

Condensing Multiple Worksheets Into One

Want a quick way to combine your worksheets? Excel provides a tool to make the task easier, but you could also bypass the ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Numbering Filtered Rows

When you filter rows in your data, you may want to later number those rows. This tip provides a variety of ways you can ...

Discover More

Limiting Input to a Format

When setting up a worksheet for others to use, you might want to make some limitations on what can be entered in certain ...

Discover More

Changing the Default Paste Mode

Don't like the way that Excel pastes when you press CTRL+V? Here are some ways that you can modify the normal paste mode ...

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}] (all 7 characters, in the sequence shown) 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 8 - 5?

2023-03-23 04:11:48

Kiwerry

Some off-the-cuff comments on Philip Andrew's solution which may be useful:

The method described will work quite happily without the detour through Word: Click on a cell then get into edit mode by clicking in the formula bar or hitting F2. Mark all of the text and copy it (for example, Ctrl-A then Ctrl-C). Press Enter to leave the cell, change to the workbook where you want to use the formula, click on the target cell and get into edit mode, then paste and press enter. The formula should be there and work as it did in the source cell.

Caveats:
References to other cells are NOT automatically changed as they would be if you were copying and pasting within a single Excel instance. Either check the references carefully before using the formula in the target workbook or make sure that the source cell and the target cell have the same address (for example, if you copy something like =A25+B25 from cell C25 and paste it into any cell other than C25 in the target workbook, the results may be different from what you expect because the formula still says =A25+B25 and doesn't refer to the neighbouring cells).
You are only copying the formula; formatting will not be copied.
You can only copy one formula at a time.

The method can be useful, despite the caveats.


2020-08-22 15:53:35

Philip Andrew

I might have discovered another workaround for copy-pasting a formula from one wb to another. I copied the source formula, hit Enter to close the cell I just copied from, then pasted the formula into a new blank MS Word document. I then did a Ctrl-A in the Word doc to select all the text I just pasted there, then hit the Clear All Formatting icon in my QAT, copied the still selected format-clear formula text in Word, and pasted it into the cell in the target wb. Presto, It worked!


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.