Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 125
Default Book about using VBA to run SQL queries with results put in Excel

Hi, Are there any books out there that will help me learn how to use VBA,
SQL and Excel all together? I'm intermediate at Excel and understand macros
and some coding, but when it comes to querying an SQL database, I understand
how to write the queries, I get lost in how to get the results into the
spreadsheet.
Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Book about using VBA to run SQL queries with results put in Excel

I would go to ca good bookstore and look at the Access and Excel Programming
books. You dont find a lot of good information on SQL with Excel but you do
find more with Access. The commands are a little different in Excel but once
you learn the basic technique and learn the differences (between excel and
Access) it is not too hard to apply one language to the other. When I have a
book I often find it answers all the questions except the one I'm looking
for. the only way of finding the book that is right for you is to look at a
bunch of books and find the right one. There are books on SQL, books on Ecel
Macros, books on Access macros. Not much on cross applications where you are
using excel to get data from an Access database.

Basically all Office applications have the same structure. They can contain
multiple objects like tables , documents, drawings. In Access the tables are
databases and excel they are worksheets but they are exactly the same in
structure. In excel you have a random access of the table, in Access you
have to move to the location by moving up rows and columns.

"Karin" wrote:

Hi, Are there any books out there that will help me learn how to use VBA,
SQL and Excel all together? I'm intermediate at Excel and understand macros
and some coding, but when it comes to querying an SQL database, I understand
how to write the queries, I get lost in how to get the results into the
spreadsheet.
Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 246
Default Book about using VBA to run SQL queries with results put in Excel

This book has lots about linling to other applications:

Excel 2007 Advanced Report Development
http://www.amazon.co.uk/gp/product/0...ref=sib_rdr_dp

J


On 13 Sep, 16:13, Joel wrote:
I would go to ca good bookstore and look at the Access and Excel Programming
books. *You dont find a lot of good information on SQL with Excel but you do
find more with Access. *The commands are a little different in Excel but once
you learn the basic technique and learn the differences (between excel and
Access) it is not too hard to apply one language to the other. *When I have a
book I often find it answers all the questions except the one I'm looking
for. *the only way of finding the book that is right for you is to look at a
bunch of books and find the right one. *There are books on SQL, books on Ecel
Macros, books on Access macros. *Not much on cross applications where you are
using excel to get data from an Access database.

Basically all Office applications have the same structure. *They can contain
multiple objects like tables , documents, drawings. *In Access the tables are
databases and excel they are worksheets but they are exactly the same in
structure. *In excel you have a random access of the table, in Access you
have to move to the location by moving up rows and columns.



"Karin" wrote:
Hi, *Are there any books out there that will help me learn how to use VBA,
SQL and Excel all together? *I'm intermediate at Excel and understand macros
and some coding, but when it comes to querying an SQL database, I understand
how to write the queries, I get lost in how to get the results into the
spreadsheet.
Thank you.- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Book about using VBA to run SQL queries with results put in Excel

See if this site will help you:

http://www.bygsoftware.com/Excel/SQL/UsingSql.html

"Karin" wrote:

Hi, Are there any books out there that will help me learn how to use VBA,
SQL and Excel all together? I'm intermediate at Excel and understand macros
and some coding, but when it comes to querying an SQL database, I understand
how to write the queries, I get lost in how to get the results into the
spreadsheet.
Thank you.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Scrpit to input search results in Excel work book Code Numpty Excel Programming 0 March 7th 08 04:14 PM
'BeforeClose' code problems:book won't close if more than one book is open Ed from AZ Excel Programming 0 September 18th 07 03:59 PM
Conditional Sum Argument results do not equal cell results Excel Randy R Mullins Excel Worksheet Functions 3 August 9th 06 07:16 PM
Open book, check for macros, close book Robin Hammond[_2_] Excel Programming 5 March 31st 05 06:09 PM
Save compared results to new work book grayham Excel Programming 1 July 5th 04 02:48 AM


All times are GMT +1. The time now is 10:28 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"