Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel accessing class modules in another vbaproject (Addin)

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi all,

I have a excel vba class module that I have created and I have saved this workbook as an excel add-in (excel2000).

I can add this in to a new workbook that I create and I can see the class module in the VB editor, however when I try to create an instance of this class the the compiler complains that the user defined type not defined?

If I move the class module into my local workbook it works.

Is it possible to access the class module that is in the excel addin?

Anyone with an idea how to do this?

Any help much appreciated.

Thanks in advance.

Bob
 
thanks for the link, I found it myself about an hour ago!!

Cheers anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top