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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dim cat As New ADOX.Catalog 1

Status
Not open for further replies.

cfriedberg2

Programmer
Aug 13, 2005
34
US
Dim cat As New ADOX.Catalog

When I use this code, I get the error message "Compile error: User-defined type not defined."

What do I do to correct this?
 
Sounds like you need a reference in VBA set..

Tools
-->References

Not sure which one you'll need, as I've not used any ADOX before... maybe [blue]Microsoft ADO for security...[/blue]?
 
Yeah, I'm pretty sure it's the one I put in blue... try it out.
 
Microsoft ADO Ext. 2.# for DDL and Security

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top