Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-12-20
4
Medium Priority
?
382 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 49

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

705 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