Notification of When a Copy is Complete

Written by Allen Wyatt (last updated June 28, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


1

David notes that when copying multiple columns (say, 10) by several hundred thousand rows, it understandably takes a while for Excel to pull it all into the Clipboard. He usually gets flashes of data on the screen, and the occasional "not responding" message, but it usually will copy without crashing. When he then tries to paste after 10 to 20 seconds, he finds that Excel's not finished copying. David wonders if there is a way to KNOW when the copy is completed so he knows it is safe to paste. A message such as "copy complete" would be helpful in these situations.

When you use Ctrl+C to copy a huge amount of data, when the copy is complete, the status bar should display this: "Select destination and press ENTER or choose Paste." Of course, if you wait long enough, the message will disappear and you may be left to wonder whether the copy has completed or not.

You can, however, do the copy using a macro, and the macro can display a message when the copy is complete. Here is a very simple example:

Sub ReportCopy()
    Selection.Copy
    MsgBox "copy complete"
End Sub

Make your selection, run the macro, and when the copy has been made, then the information is within the Clipboard, ready to be pasted.

When using any copying that involves the Clipboard, you need to understand that the process is inherently slow, particularly if you don't have a lot of memory within your PC. If what you are copying requires more memory than what is available on your system, then Windows uses virtual memory, which means it writes some of the information to your drive's cache. This slows things down even more.

You can, if desired, do both the copy and paste within a macro, which bypasses the Clipboard completely. Here's an example of such an approach:

Sub Rnge_Copy()
    Dim LeftEdge As Long
    Dim RightEdge As Long
    Dim TopEdge As Long
    Dim BottomEdge As Long
    Dim DestRnge As Range

    TopEdge = ActiveCell.Row
    LeftEdge = ActiveCell.Column
    BottomEdge = TopEdge + Selection.Rows.Count - 1
    RightEdge = LeftEdge + Selection.Columns.Count - 1

    On Error Resume Next
    Set DestRnge = InputBox("Enter the top left destination cell address", Type:=8)
    If Err.Number = 0 Then
        Range(Cells(TopEdge, LeftEdge), Cells(BottomEdge, RightEdge)).Copy _
          Destination:=DestRnge
    End If
    On Error GoTo 0
End Sub

To use the macro, select the range you want to copy and then run it. You are asked to provide an address for the upper-left corner of the destination. (The macro copies information within the same worksheet, not between worksheets or workbooks.) The error handling in the macro is in place in case the user provides an invalid destination address or clicks on the Cancel button.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11566) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

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

Creating a Document Font List

If you want a list of all the fonts used in a document, the answer isn't as simple as you may think. This tip uses macros ...

Discover More

Sorting Data Containing Merged Cells

When formatting the layout of your worksheet, Excel allows you to easily merge adjacent cells together. This can cause ...

Discover More

Using a Formula to Replace Spaces with Dashes

If you need a formula to change spaces to some other character, the SUBSTITUTE function fits the bill. Here's how to use it.

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!

More ExcelTips (ribbon)

Can't Copy Data between Workbooks

Edit a group of workbooks at the same time and you probably will find yourself trying to copy information from one of ...

Discover More

Shortcut for Selecting a Data Range

Want to select all the data in a contiguous section of a worksheet? The shortcut discussed in this tip makes it very easy.

Discover More

Stopping Feet and Inches from Converting to Dates

When pasting information into a worksheet, Excel tries to helpfully convert that information. This can cause undesired ...

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 seven more than 3?

2025-06-29 07:57:00

zeddy

When Excel is processing vba code it's aim is to get to the end of the routine as fast as possible. For complex operations, particularly those involving many screen updates, it can often start processes before previous ones have completed. You cannot assume that all processing has been completed before you display such a "completed" message.
To ensure that Excel has actually finished something before proceeding with the next line of vba code, you need to include the following line of code directly before your "display finished message" line of code:
DoEvents
..this line of code effectively tells Excel to finish all previous tasks BEFORE proceeding to the next line of code.
Excel vba processing is like the Terminator, it is relentless and will not stop till it gets to the End Sub
You can make it stop to catch it's breath and finish all previous tasks before proceeding to the next line of code using DoEvents.


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.