User-defined type not defined

Posted on 2009-04-10
Last Modified: 2012-06-27

I am using an Excel file coded with VB. As it is a holiday weekend, I can't get in touch with the person who coded this file, so I am trying to figure this out on my own. I fill in the Excel sheet with the required data, then click on a 'Submit' button. What it's supposed to do is update the database with the Excel data, but instead it opens VB and gives me the user-defined type not defined error. I have seen this in some other posts on here, and have tried to go to Tools > References, but References is grayed out. I also have version 3 of the Soap Library on my workstation, which is what I think the compilation error is referencing. Please see attached. Thanks.
Question by:tatetryon
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
  • 4
  • 2
LVL 59

Expert Comment

by:Chris Bottomley
ID: 24118830
In the VBE make sure you press stop then tools references ought to be enabled and retry to add the reference.


Author Comment

ID: 24121756
Where do I press stop?
LVL 59

Accepted Solution

Chris Bottomley earned 250 total points
ID: 24121895
See below
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 24306760
no comment

Author Comment

ID: 24306761
no comment

Author Comment

ID: 24306766
no comment

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 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