Anyone know how to gain access to classes in a template that has been added to the references in the current project?
One can get access to the modules but not the classes.
(Word97)
Printable View
Anyone know how to gain access to classes in a template that has been added to the references in the current project?
One can get access to the modules but not the classes.
(Word97)
I want to know too!
What do you mean gain access? If you don't have word on your computer then you don't have the word class to gain access to. Do you mean use/reference in your project?
Public appWord as New Application.Word
If you have someelse's code and it references a class that you don't have on your machine then it says it is missing. You have to get the files that make that class (dlls or whatever).
Please clarify your question.
I'm working from withing Word97. (pure VBA)
I've made one template with some modules and some classes.
Now I'm working on another template that have references to the 1st template.
Now the problem:
I can get access to the subs and functions of the modules in the 1st template, but I can't use its classes. The classes don't show up. It doesn't show up in the object-viewer. It's like it's not there.
(If you make classes in an activex dll in vb and make a reference to it from the word-template, you can see the classes.)