Share via

How to copy a record as a new record in MS 365 Access. Facility has been removed.

grayb 25 Reputation points
2026-03-14T09:09:13.0933333+00:00

I know that you cannot 'copy a record as a new record in MS 365 Access' anymore. As the facility has been removed in recent upgrades.

I do not believe this is an upgrade but a retrograde step. MS seems to be going backwards and not forward.

Is there a workaround, a hack, or additional VB code to get it to work. As this ability is an absolute necessity.

Microsoft 365 and Office | Access | For business | Windows
0 comments No comments

8 answers

Sort by: Most helpful
  1. grayb 25 Reputation points
    2026-03-15T12:44:26.6033333+00:00

    The coding behind the 'duplicate' button has been on a form for 10 years or so. It has duplicated the form and its data to a new form.

    Its been working Ok till about 2 years ago. I just lived with it.

    However I now have a need to use it.

    Its either an upgrade to Access that has prevented this, or maybe Windows 11 or maybe 365

    Private Sub Command124_Click()
    On Error GoTo Err_Command124_Click
        DoCmd.RunCommand acCmdSelectRecord
        DoCmd.RunCommand acCmdCopy
        DoCmd.RunCommand acCmdRecordsGoToNew
        DoCmd.RunCommand acCmdSelectRecord
        DoCmd.RunCommand acCmdPaste
    Exit_Command124_Click:
        Exit Sub
    Err_Command124_Click:
        MsgBox Err.Description
        Resume Exit_Command124_Click
        
    End Sub
    

    Was this answer helpful?

    0 comments No comments

  2. George Hepworth 22,855 Reputation points Volunteer Moderator
    2026-03-14T16:16:15.7+00:00

    I verified that this code executes correctly in an mdb running under MS Access 365 on Windows 11.

    It appears there is some problem with the way the clipboard works (or doesn't work) in your environment. Can you provide a copy of the mdb in question for further analysis? If so, also please remove sensitive or personally identifiable information.

    I suggest you also search for reports of problems with the Windows clipboard under whichever version of Windows you have installed.

    Was this answer helpful?

    0 comments No comments

  3. George Hepworth 22,855 Reputation points Volunteer Moderator
    2026-03-14T16:04:03.6866667+00:00

    Thanks. Actually, that was never a built-in Access function. What you show is the code from a command button which was probably on multiple forms. ("Sheets" is an Excel term and not applicable in this context, by the way.)

    That is a command button called "Command124" which was originally created by whoever built that Access database for you. It may have been copied from one form to another over the years as well.

    That command button used the DoCmd.RunCommand syntax to copy and paste records.

    I'm not sure why it stopped working and when that happened. I'm going to do a bit of testing to see if I can replicate the error you are getting.

    Was this answer helpful?

    0 comments No comments

  4. grayb 25 Reputation points
    2026-03-14T15:40:06.6266667+00:00

    I have mdb sheets going back years all with a 'Duplicate Record' button. Which was an inbuilt function. For probably 2 years it suddenly stopped working.

    When selecting the button it gives an error 'The clipboard is not responding, so Microsoft Access paste the clipboards contents'.

    The coding behind the button is

    Private Sub Command124_Click()
    On Error GoTo Err_Command124_Click
        DoCmd.RunCommand acCmdSelectRecord
        DoCmd.RunCommand acCmdCopy
        DoCmd.RunCommand acCmdRecordsGoToNew
        DoCmd.RunCommand acCmdSelectRecord
        DoCmd.RunCommand acCmdPaste
    Exit_Command124_Click:
        Exit Sub
    Err_Command124_Click:
        MsgBox Err.Description
        Resume Exit_Command124_Click
        
    End Sub
    

    Was this answer helpful?

    0 comments No comments

  5. George Hepworth 22,855 Reputation points Volunteer Moderator
    2026-03-14T11:16:16.4933333+00:00

    The assumption in your statement is not correct. With some limitations, a record can be copied and pasted into a new record in a table. There may be circumstances where the ability to do that is limited by properties set on individual fields within a table, such as a unique index on one or more fields. That, however, is unique to that specific context and does not reflect a general change in behavior.

    Please explain WHY you think this happened. Perhaps you were relying on specific code, or perhaps you encountered a situation where unique indexes prevented copy/paste in one particular table. But to address your situation, we need basic details.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.