Results 1 to 2 of 2
  1. #1
    chriscardwell06 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2013
    Posts
    6

    Exclamation Copy and Paste in right click menu

    I am making a custom right click menu for our company database using this tutorial:

    http://office.microsoft.com/en-us/ac...010282509.aspx

    The thing I can't find when making this macro is copy or paste. I want to add these to it but I can't find it using run command or anything. Can someone enlighten me on how to get these 2 in the menu?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I have not tried to build a shortcut menu using A macro builder in Access 2007 before. I looked into it with Access 2010 and the tutorial you have there does not seem to apply to newer versions.

    One option might be to try and add some code to your macro and incorporate acPaste or add an object like msoControlButton and include the appropriate id for the control you want.

    If you still have a working copy of Access 2003 you can create custom menus in it using the wizard, use your custom menus in a blank form, import the form into your newer version of Access, and include the option to import custom menus.

    Since you are after a shortcut menu, you may be able to create your own using VBA. This example seems to be put together well.
    http://msdn.microsoft.com/en-us/libr.../ff194247.aspx

    Other options would be to create tables and use XML to dynamicaly create and update custom menus....

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Copy and Paste Row (vb)
    By Computer202 in forum Programming
    Replies: 7
    Last Post: 03-28-2014, 01:59 AM
  2. Copy-Paste on Internet
    By BorisGomel in forum Access
    Replies: 5
    Last Post: 11-09-2011, 10:33 AM
  3. Copy-Paste
    By BorisGomel in forum Access
    Replies: 4
    Last Post: 10-25-2011, 07:17 AM
  4. Copy/paste to new record.
    By xbox1513 in forum Forms
    Replies: 1
    Last Post: 02-23-2011, 04:52 PM
  5. Copy / Paste some fields
    By isnpms in forum Access
    Replies: 2
    Last Post: 08-25-2010, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums