Link to home
Create AccountLog in
Avatar of Dave Credicott
Dave CredicottFlag for United States of America

asked on

Excel msg User-defined type not defined - but no VB code

I have an Excel spreadsheet with several tabs and vlookups.  It also, at one time, included a VBA macro which I used to populate columns on the spreadsheet.  The macro has been removed, and no macros remain.

However, whenever I change any cell on the spreadsheet, I get the "User-defined type not defined" error message, which is extremely annoying.

Why am I getting this error and how can I resolve it?\
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Can you upload the workbook?
Goto your VBA Editor by pressing ALT + F11
On your left, you will see your worksheets and modules (with macros if you have any left)
Right click on the problem worksheet and click 'View Code'
You should have code inside. If you do delete it. If you don't I highly suggest posting a sample workbook
Avatar of Dave Credicott
Dave Credicott
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Dave Credicott


Further testing, as described above.