Solved

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

Posted on 2012-12-20
4
369 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 47

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

My experience with Windows 10 over a one year period and suggestions for smooth operation
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
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…

738 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