?
Solved

Connect Excel list to DBCombo in VB forms

Posted on 1999-01-29
1
Medium Priority
?
501 Views
Last Modified: 2012-06-27
How connect a database list stored in excel worksheet to DBCombo control in VB form (Excel 97)?
0
Comment
Question by:aenede
[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
1 Comment
 
LVL 3

Accepted Solution

by:
sduckett earned 800 total points
ID: 1616093
1. Put a data control on your form
2. For that controls Connect property, choose 'Excel 8.0'.
3. Property, DatabaseName = Your XL database file.
4. Property, RecordSource = The sheet in your xls
5. For your DBCombo, RowSource = Your Data control
6. For your DBCombo, ListField = Field on your XL sheet
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

801 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