Solved

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

Posted on 2012-12-20
4
364 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 46

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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