Solved

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

Posted on 2012-12-20
4
348 Views
Last Modified: 2012-12-27
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?\
0
Comment
Question by:SkyGuyDave
  • 2
4 Comments
 
LVL 45

Expert Comment

by:Martin Liss
ID: 38710125
Can you upload the workbook?
0
 
LVL 13

Expert Comment

by:Shanan212
ID: 38710146
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
0
 

Accepted Solution

by:
SkyGuyDave earned 0 total points
ID: 38715440
Thanks for the comments, but I solved this issue.  There was no code.  I examined & verified every function (eg, =vlookup, =if) in the top row, and they were all ok.  Knowing they were good, i did a 'copy special' to refresh the entire column with the model function.  The problem vanished.  Apparently one of the cells in the underlying 51k rows was corrupted.  I've never encountered this situation before (hard to believe).  Excel certainly doesn't offer much help in isolating the error!
0
 

Author Closing Comment

by:SkyGuyDave
ID: 38723173
Further testing, as described above.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now