+ Reply to Thread
Results 1 to 2 of 2

VBA retrieve URL from Windows Clipboard

  1. #1
    Registered User
    Join Date
    01-23-2012
    Location
    Leeuwarden, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    VBA retrieve URL from Windows Clipboard

    When you paste text In OneNote from either the Web or a file on the computer, it pastes at the bottom the URL to the source.
    Clipboard managers like Clipmagic shows the data copied to the Windows clipboard with the relevant URL (indicating that the data should be available on the clipboard).

    I’m able to retrieve (access) text from the clipboard:
    Please Login or Register  to view this content.
    But I would like to do the same as OneNote does and include the URL to the source (either Web address, i.e. www.test.com or a physical computer address, i.e. file:///C:\Users\ACF\Documents\test.xls) at the bottom when I paste text from the clipboard.

    Does anyone know how to do this?
    Regards,
    Alex
    Last edited by Leith Ross; 01-23-2012 at 05:33 PM. Reason: Added Code Tags

  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: VBA retrieve URL from Windows Clipboard

    Hello ACFeddes,

    Welcome to the Forum!

    It probably can be done but the answer depends on how the data is getting to the clipboard. Are you doing it manually or by code?
    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
    Registered User
    Join Date
    01-23-2012
    Location
    Leeuwarden, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: VBA retrieve URL from Windows Clipboard

    Hello Leith,
    thanks for reply.

    I copy manually to the clipboard ([Ctrl C] and want to retrieve data either through a userform or 'only' by code (without the visual interface).

    Regards,
    Alex

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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