View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default how do I add vba reference to Microsoft Forms 2.0 Object Library?

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