Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default SQL and Excel


Is it possible to incorporate SQL with VBA Excel code?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default SQL and Excel

The best way to find the code for you to use is to record a macro while
manually performing a query from Excel using MSQuery (Data/Get External
Data/New Database Query)

HTH, Greg

"pcw" wrote in message
...

Is it possible to incorporate SQL with VBA Excel code?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default SQL and Excel

"pcw" wrote in message
...

Is it possible to incorporate SQL with VBA Excel code?


"Greg Koppel" wrote in message ...

The best way to find the code for you to use is to record a macro while
manually performing a query from Excel using MSQuery (Data/Get External
Data/New Database Query)


For VBA code, check out ADO. MS Query is a GUI tool.

--
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"