Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
job job is offline
external usenet poster
 
Posts: 65
Default access to the multiple values on clipboard

I don't think I'm explaining myself very well. If you copy the values
7,8,9,10 into the clipboard. I want to know how programatically to access
each of the values ie.

Set objCB = New DataObject
objCB.GetFromClipboard
objCB.GetText(1)
objCB.GetText(2)
objCB.GetText(3)
objCB.GetText(4)
Where the 1,2,3,4 are the different slot or elements of the clipboard. I've
read a lot of things that look for text or a specific kind of format that is
on the clipboard, however, I'm interested in being able to reference the
individual elements of the clipboard. It would be the same as seeing the
above values in the clipboard taskpane, and clicking on the 3rd in the list,
or '8' and having that 'paste' into the sheet where ever you choose. As
opposed to clicking the '8', I would like to access that element via vba.

Hopefully this explains more clearly what I'm attempting to do..


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel & Access 2007 SP1 - Data in the Clipboard "damaged" Ron West Excel Discussion (Misc queries) 3 February 2nd 09 12:49 PM
clipboard clearing in excel, access, word... troy stud Excel Discussion (Misc queries) 0 October 27th 06 11:02 PM
multiple copies from web page to clipboard Shaka Excel Discussion (Misc queries) 0 June 14th 06 07:47 PM
Pasting multiple cells using Office Clipboard doughboy Excel Discussion (Misc queries) 2 July 22nd 05 06:22 AM
Excel clipboard should allow pasting of formulae not just values Desperate Don Excel Discussion (Misc queries) 0 April 28th 05 05:54 PM


All times are GMT +1. The time now is 11:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"