Can't Compile: User-defined type not defined

  • Thread starter Thread starter David Salahi
  • Start date Start date
D

David Salahi

I'm trying to compile the code for an Access application but I keep getting
the error message:

User-defined type not defined

The VB Editor doesn't show me what line of code it's objecting to. So, to
try and track down the problem, I've gone through each module, class and form
and commented out the code, one file at a time. With ALL of the code now
commented out, I still get the error. Any ideas why??

David Salahi
 
David Salahi said:
I'm trying to compile the code for an Access application but I keep getting
the error message:

User-defined type not defined

The VB Editor doesn't show me what line of code it's objecting to. So, to
try and track down the problem, I've gone through each module, class and form
and commented out the code, one file at a time. With ALL of the code now
commented out, I still get the error. Any ideas why??

Try importing into a new MDB/ACCDB and see if that helps.

If not try decompiling. Decompile or how to reduce Microsoft Access
MDB/MDE size and decrease start-up times
http://www.granite.ab.ca/access/decompile.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
Back
Top