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:
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.Dim MyData As DataObject Set MyData = New DataObject Dim strClip As String MyData.GetFromClipboard strClip = MyData.GetText TB1 = strClip
Does anyone know how to do this?
Regards,
Alex
Last edited by Leith Ross; 01-23-2012 at 04:33 PM. Reason: Added Code Tags
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 Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks