Hi -
After a fair amount of research on various methods of accessing the clipboard, I'm drawing a blank on this.
Say that I've copied several things to the Office Clipboard and now I want VBA to paste the first five items into a worksheet -- how do I do that?
I've run across other situations before where this would be useful. Here are the current particulars. I'm looking up employee data and copying these five items to the clipboard:
10123412
Overman, Frank (MyCompany - US/MyCity)
frank.overman@mycompany.com
Manager, Some (10123406)
foverman
In Excel I'd like VBA to paste these five values into columns. The row and column references I can handle. I just need to know how to access these specific items on the clipboard.
Various methods that use Clipboard.GetDataObject() seem only to deal with the most recent item copied.
I ran across a reference to ClipEx (Karl E. Peterson's Classic VB Code: ClipEx) but don't find enough information on it. Don't know if it will do what I want or not.
Help, please?
After a fair amount of research on various methods of accessing the clipboard, I'm drawing a blank on this.
Say that I've copied several things to the Office Clipboard and now I want VBA to paste the first five items into a worksheet -- how do I do that?
I've run across other situations before where this would be useful. Here are the current particulars. I'm looking up employee data and copying these five items to the clipboard:
10123412
Overman, Frank (MyCompany - US/MyCity)
frank.overman@mycompany.com
Manager, Some (10123406)
foverman
In Excel I'd like VBA to paste these five values into columns. The row and column references I can handle. I just need to know how to access these specific items on the clipboard.
Various methods that use Clipboard.GetDataObject() seem only to deal with the most recent item copied.
I ran across a reference to ClipEx (Karl E. Peterson's Classic VB Code: ClipEx) but don't find enough information on it. Don't know if it will do what I want or not.
Help, please?