Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard,
but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You need to have a reference to the Microsoft Forms library.
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "wrssbrown" wrote in message ... I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard, but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try using the Browse button to select c:\windows\system32\FM20.DLL
-- Jim "wrssbrown" wrote in message ... I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard, but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try adding a form to your project, then look again for the reference.
If still no luck then try browsing to... C:\ Windows \ System32 \ FM20.dll -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware (Excel Add-ins / Excel Programming) "wrssbrown" wrote in message I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard, but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For me, it appears near the top of the list.
But a quick way to create a reference to that library is to add a userform to your workbook's project. You can delete it later if you don't need it. wrssbrown wrote: I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard, but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks for your help. just the right answer, appreciate you took time to
answer. "Jim Rech" wrote: Try using the Browse button to select c:\windows\system32\FM20.DLL -- Jim "wrssbrown" wrote in message ... I'm trying to use 'Dim myobj As New DataObject' in VBA to access clipboard, but VBA won't recognize 'DataObject', which is available in MicroSoft Forms 2.0 object library. can't find MS Forms 2.0 object library in tools/reference list. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel VBA Reference to Forms Object Library (to be unchecked) | Excel Programming | |||
add ref to Microsoft HTML Object Library | Excel Programming | |||
MS Forms 2.0 Object Library | Excel Programming | |||
How to install MICROSOFT FORMS 2.0 OBJECT LIBRARY | Excel Programming | |||
How to check Solver and Forms 2.0 Object Library permanently? | Excel Discussion (Misc queries) |