Anthony George
Registered User.
- Local time
- Today, 19:35
- Joined
- May 28, 2004
- Messages
- 105
Hi Everyone
I know how to put things on to the clipboard, DoCmd.RunCommand acCmdCopy
I just want to view the current contents of the clipboard in access 2003 using vba.
I Found this code whilst searching for a solution:-
Dim DataObj As New MSForms.DataObject
DataObj.GetFromClipboard
MyString = DataObj.GetText
But it needs the Microsoft Forms2 Object Library
This is not in the list of references, does anyone know how to get it?
Or does anyone know how to read the clipboard a different way.
Many Thank's for any help given
Kindest Regards
Tony
I know how to put things on to the clipboard, DoCmd.RunCommand acCmdCopy
I just want to view the current contents of the clipboard in access 2003 using vba.
I Found this code whilst searching for a solution:-
Dim DataObj As New MSForms.DataObject
DataObj.GetFromClipboard
MyString = DataObj.GetText
But it needs the Microsoft Forms2 Object Library
This is not in the list of references, does anyone know how to get it?
Or does anyone know how to read the clipboard a different way.
Many Thank's for any help given
Kindest Regards
Tony