Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Use late binding to get at the FORMS library

Using Excel 2007;

I'm trying to use late binding to create a reference to the Forms library so
I don't have to reference it in my code. The following does NOT work:

Dim oData As Object
Set oData = CreateObject("MSForms.DataObject")

Can someone please correct the above form me so I can get at the
"DataObject" library?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Use late binding to get at the FORMS library

xp,

There is a discussion here that may be of use:

http://www.mrexcel.com/forum/showthread.php?t=192500

HTH,
Bernie
MS Excel MVP


"xp" wrote in message
...
Using Excel 2007;

I'm trying to use late binding to create a reference to the Forms library so
I don't have to reference it in my code. The following does NOT work:

Dim oData As Object
Set oData = CreateObject("MSForms.DataObject")

Can someone please correct the above form me so I can get at the
"DataObject" library?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Use late binding to get at the FORMS library


I guess the ultimate answer is, you can't use late binding with "DataObject"
so it's impossible; since it's not an ActiveX component.

Thanks for the reference.



"Bernie Deitrick" wrote:

xp,

There is a discussion here that may be of use:

http://www.mrexcel.com/forum/showthread.php?t=192500

HTH,
Bernie
MS Excel MVP


"xp" wrote in message
...
Using Excel 2007;

I'm trying to use late binding to create a reference to the Forms library so
I don't have to reference it in my code. The following does NOT work:

Dim oData As Object
Set oData = CreateObject("MSForms.DataObject")

Can someone please correct the above form me so I can get at the
"DataObject" library?

Thanks.




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
Late Binding/Object Library Probelms bony_tony Excel Programming 1 July 27th 07 04:50 PM
VB Extensibility library and "late binding" Dennis Excel Discussion (Misc queries) 0 March 30th 05 10:51 PM
Late Binding examples of binding excel application HeatherO Excel Programming 13 March 17th 05 08:19 AM
Late binding to .XLA library?? Lee S Excel Programming 6 March 4th 05 08:37 PM
VBA References - when is Office Object Library Reference set? Best practice re. Early/Late binding ... AndyB Excel Programming 5 April 22nd 04 02:11 PM


All times are GMT +1. The time now is 06:48 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"