View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default how do I use SQL within vba for excel?

You can run queries or ADO that utilise SQL, all you do is create an SQL
command and pass it to the data engine.

What are you trying to access, what data source, and how do you want to do
it?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"macro media" <macro wrote in message
...
I just want to be able to include SQL statements into a vba environment.
I'm using Office 2003.
Thanks everybody!