Populate Drop-Down from Database Using VBA

N

Nuggets

Populate Drop-Down from Database Using VBA

Hello,
I have a spreadsheet with 4 drop-down boxes. On open, I
would like to populate these 4 drop-down boxes with
results returned from a database query (SQL Server 2000).

Is this possible?

I've used VBA and ADO 'behind' the sheet to open a
database connection, execute a query, and return the
results, but I can't figure out now how to stick the
result set into the drop-down box.

Does anyone know how to do this?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top