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

Setting Up Multi-page Columns

Do you need a page layout that features columns that progress vertically across pages instead of horizontally across a ...

Discover More

Setting Matrix Row Spacing in the Equation Editor

The Equation Editor is a tool you can use to create complex mathematical formulas and insert them in your documents. If ...

Discover More

Finding and Changing Word's Internal Commands

If you know how to create macros, you can easily create entire replacements for Word's internal commands. Here's all you ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Searching for All

When you are working on a worksheet (particularly a large one), you may want to search for and possibly copy information ...

Discover More

Pasting Multiple Paragraphs Into a Single Cell

Copying information from one program (such as Word) to another (such as Excel) is a common occurrence. If you want to ...

Discover More

Colors No Longer Work

It can be disconcerting if you are editing a workbook and can no longer change colors for cells in the workbook. This tip ...

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 two more than 7?

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.