MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

What does this VBA/Excel compile error mean (?)

  Asked By: Chigaru    Date: Sep 10    Category: MS Office    Views: 3183

Compilation error:
The type defined by the user was not defined

I have included an ActiveX ( .DLL ) into an Excel application and am getting
this compilation error
when trying to call a function as part of the class module file within an (
Excel AddIn ) file.

Any ideas ?



2 Answers Found

Answer #1    Answered By: Sam Anderson     Answered On: Sep 10

I fix it, but now am getting this compile  error..

Expected user-defined type, not project.

Answer #2    Answered By: Mehreen Malik     Answered On: Sep 10

Be careful not to create a naming conflict between the project name or
names of modules.

Didn't find what you were looking for? Find more on What does this VBA/Excel compile error mean (?) Or get search suggestion and latest updates.