+ Reply to Thread
Results 1 to 5 of 5

A Macro to paste the most recent entry from the Office Clipboard

  1. #1
    Valued Forum Contributor
    Join Date
    04-11-2006
    MS-Off Ver
    2007
    Posts
    438

    A Macro to paste the most recent entry from the Office Clipboard

    Hi all,

    I'm doing a data/filter/advanced filter/show all/unique records to get rid of any duplicate rows. I tried creating a macro and but the macro recorder doesn't know that I want to do NOT a regular paste, but a paste from the most recent entry from the Office Clipboard.

    Is there a formula and/or macro that will allow me to do this?

    Thanks much
    Last edited by duugg; 02-20-2009 at 10:59 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: A Macro to paste the most recent entry from the Office Clipboard

    Hello duugg,

    The Office Clipboard is an applet that has no interfaces outside of the application. This is in direct contrast to the system Clipboard which allows you to freely copy and paste between applications. When using the Office Clipboard, it is all manual.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: A Macro to paste the most recent entry from the Office Clipboard

    Since it is a manual method, you can use SendKeys() to automate it. However, Sendkeys should be avoided when possible. Also note that Vista users will need to disable UAC for Sendkeys to work.

  4. #4
    Valued Forum Contributor
    Join Date
    04-11-2006
    MS-Off Ver
    2007
    Posts
    438

    Re: A Macro to paste the most recent entry from the Office Clipboard

    Okay hmmm,

    I am not at all familiar with "Sendkey" and have no idea what it does. This is even after reading about it in Visual Basic help. I'll mark this thread as solved and post my question as a macro question to a different thread.

    Thanks

  5. #5
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: A Macro to paste the most recent entry from the Office Clipboard

    Just post here if you need help with Sendkeys for this.

+ 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