+ Reply to Thread
Results 1 to 17 of 17

Can't Undo Paste

Hybrid View

rockets2010 Can't Undo Paste 12-17-2010, 01:36 PM
ChemistB Re: Can't Undo Paste 12-17-2010, 01:42 PM
rockets2010 Re: Can't Undo Paste 12-17-2010, 01:49 PM
ChemistB Re: Can't Undo Paste 12-17-2010, 01:55 PM
rockets2010 Re: Can't Undo Paste 12-17-2010, 02:03 PM
ChemistB Re: Can't Undo Paste 12-17-2010, 03:21 PM
rockets2010 Re: Can't Undo Paste 12-17-2010, 03:41 PM
ChemistB Re: Can't Undo Paste 12-17-2010, 03:53 PM
rockets2010 Re: Can't Undo Paste 12-17-2010, 04:24 PM
romperstomper Re: Can't Undo Paste 12-17-2010, 06:34 PM
rockets2010 Re: Can't Undo Paste 12-20-2010, 12:21 PM
romperstomper Re: Can't Undo Paste 12-20-2010, 12:24 PM
rockets2010 Re: Can't Undo Paste 12-20-2010, 01:46 PM
ChemistB Re: Can't Undo Paste 12-21-2010, 10:53 AM
rockets2010 Re: Can't Undo Paste 12-21-2010, 01:15 PM
zerozero Re: Can't Undo Paste 05-25-2011, 04:16 PM
ChemistB Re: Can't Undo Paste 05-25-2011, 05:03 PM
  1. #1
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Can't Undo Paste

    Hello,

    I have an Excel document in which I cannot undo pasting after both copy+paste and cut+paste. I can open a new document and am able to undo paste, but for some reason this particular document won't let me. As you can imagine, this has the potential to really screw up your work if you accidently paste something where you didn't mean to. The workbook has no macros running.

    Running Excel 2010.

    Thanks for your help.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    It does sound as if there is VBA code running in the background. If you right click on the sheet tab and "View Code" is there any code there?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    Yes, the following is present:

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)

    End Sub

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    Is there nothing between the two lines? If not, erase it. That is causing your problem.

  5. #5
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    Nothing is present between the lines. The below code is also present on the ThisWorkbook screen. Also, how do I delete. It seems not to be as simple as deleting the code and exiting VBA

    Private Sub Workbook_Open()

    End Sub

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    Yep, it is that simple. Select it and backspace or clear or delete. Then close the screen. Might as well Clear the Workbook open screen too although that's not bothering you.

  7. #7
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    OK, thanks very much for your help but the problem is still there. To clarify, the code I posted earlier from the module is under the "worksheet" drop down menu rather than the "general" menu. When I delete it, it just takes me back to the general menu, and the code is still there on the worksheet menu.

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    Ahhh, okay, when you go to that worksheet dropdown menu, it (Excel) automatically assumes you are planning on writing code and it supplies the first and last line for you. Once you clear it, Excel brings you back to the "General" menu. Don't go back into the Worksheet menu. If you are still having problems, then the problem is elsewhere. I don't suppose you can upload your spreadsheet (clearing off any propriatary information first)?

  9. #9
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    I see. Unfortunately problem is still there. I wish I could upload but the whole doc is basically proprietary so it would be too difficult. Another aspect of the problem I just noticed is that the issue only occurs on some sheets within the workbook. On others, there is no copy paste problem. Not sure if this gives you any new ideas...

  10. #10
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,977

    Re: Can't Undo Paste

    Is there code behind the sheets that do have the problem? Alternatively, if you open the workbook with macros disabled, does the problem go away?
    Everyone who confuses correlation and causation ends up dead.

  11. #11
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    There is no code behind the sheets. The problem must be somewhere else.

  12. #12
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,977

    Re: Can't Undo Paste

    And the answer to my second question?

  13. #13
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    No luck with that suggestion either. What I just did to fix it was to move each of the sheets to a new workbook. The problem seems to have gone away in the new document.

  14. #14
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    Can you upload the old spreadsheet, even if it's empty and the problem persists. I'd like to try to solve this.

  15. #15
    Registered User
    Join Date
    12-17-2010
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Can't Undo Paste

    Wish I could...against company policy, etc. Sorry I can't be a team player on this one, but thanks very much for your help with this.

  16. #16
    Registered User
    Join Date
    05-25-2011
    Location
    England - Bucks
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Can't Undo Paste

    I have got the same problem. Anyone want the example file and further details? All the data can be removed and so far the problem remains

    Other issues is that cut/insert row/columns doesn't work or validation lists so a number of things seem to get messed up and it does appear to be permanant.

    Moving/copying the sheets into a new file works although if you have tables you have to do each one individually which is somewhat painful.

  17. #17
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Can't Undo Paste

    Yes, start a new thread though (rule 2)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1