Solved

Connect Excel list to DBCombo in VB forms

Posted on 1999-01-29
1
494 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 200 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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
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 video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

739 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