Q

Can I write code using VB editor to query MS Excel VBA?

I'm currently developing an accounting application using Microsoft's Excel VBA . What I would like to know is if it is possible to write a code using Visual Basic editor to query my database.

Yes, you can use VBA to query most kinds of databases.

DAO can be used to query Jet Databases (MDB files). It is a simple coding style, specifically designed to support the Jet database engine, but adequate for many desktop tasks.

Almost any ODBC compatible database can be manipulated with ADO. This opens nearly all of the client/server databases like MS SQL Server, Oracle, DB2, etc.

For More Information


This was first published in November 2002

Dig deeper on Oracle and SQL

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close