PC Review


Reply
Thread Tools Rate Thread

Book about using VBA to run SQL queries with results put in Excel

 
 
Karin
Guest
Posts: n/a
 
      13th Sep 2008
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 With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      13th Sep 2008
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.

 
Reply With Quote
 
WhytheQ
Guest
Posts: n/a
 
      13th Sep 2008
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 <J...@discussions.microsoft.com> 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 lookat 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 useVBA,
> > SQL and Excel all together? *I'm intermediate at Excel and understandmacros
> > 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 -


 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      13th Sep 2008
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ajax call to fetch multiple results from multiple queries and showing them 1 by 1 as the results comes. Biranchi Narayan Panda Microsoft ASP .NET 0 21st Feb 2010 03:46 PM
VB Scrpit to input search results in Excel work book Code Numpty Microsoft Excel Programming 0 7th Mar 2008 04:14 PM
Click buttons to start queries and export the results to Excel Jo Gjessing Microsoft Access External Data 4 21st Jan 2008 09:46 AM
Results of Access queries not always copying reliable to excel Andy S. Microsoft Access Queries 2 7th Sep 2005 06:53 PM
Exporting parameter queries results to excel - is this normal =?Utf-8?B?Tk5sb2dpc3RpY3M=?= Microsoft Access Queries 1 1st Oct 2004 12:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:22 AM.