Class Module

C

can

ich häng grad an nem problem und hoffe hier kann mir vielleicht jemand
helfen? ich hoffe es zumindest sehr ;)

ich hab in meiner normal.dot ein paar KlassenModule die ich jetzt von einem
anderen dokument aus verwenden will!

jetzt will ich in der Datei B das Class Modul Habla laden!
Sag Dim xyz As New Habla

da es ein classenmodul von der normal.dot ist sollte er das doch aufrufen
oder?
er sagt mir allerding weiterhin: User-defined type not defined


[helpfile]

The type you want to declare is in another module but has been declared
Private.

.. modul ist public..

[helpfile]

The type is a valid type, but the object library or type library in which it
is defined isn't registered in Visual Basic.

ist das auch für Class aufrufe nötig? (habs mal gemacht:)

.. References -> TemplateProject..

-> Name conflicts with existing module, project, or object library

hm.. okey.. dann ists anscheinend schon drin?

Ich hab die betreffende klasse markiert und im Properties window Instancing
von Private auf PublicNotCreatable (was ist das? wieso nicht nur public?)
gesetzt.. bringt mich auch nich weiter..

HELP!
hat jemand eine idee??
 
C

Cindy Meister -WordMVP-

CAN has received an answer in a German-speaking VBA
group...

Cindy Meister
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top