Solved

User-defined type not defined

Posted on 2009-04-10
6
221 Views
Last Modified: 2012-06-27
Hi,

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.
VB-Error.bmp
0
Comment
Question by:tatetryon
  • 4
  • 2
6 Comments
 
LVL 59

Expert Comment

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

Chris
0
 

Author Comment

by:tatetryon
Comment Utility
Where do I press stop?
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 250 total points
Comment Utility
See below
vbe1.jpg
vbe2.jpg
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:tatetryon
Comment Utility
no comment
0
 

Author Comment

by:tatetryon
Comment Utility
no comment
0
 

Author Comment

by:tatetryon
Comment Utility
no comment
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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

11 Experts available now in Live!

Get 1:1 Help Now