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

I'm populating a table from a SQL Server source.

I dump the info into a worksheet.
Is there anyway to query that info like it was still a database table
?
i.e. have SQL statements as the function of individual cells ?

Can functions be that complicated ?


also:
how do you supress the column titles when querying in SQL ?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default SQL statements in EXCEL

This file might be a help:
http://www.bygsoftware.com/examples/...SqlRequest.zip
It's in the "Excel with Access Databases" section on page:
http://www.bygsoftware.com/examples/examples.htm

This workbook demonstrates how to get data direct from an MS Access table,
or from an open or closed MS Excel workbook using the workbook function
SQL.REQUEST.

Recently updated to show the use of SQL.REQUEST in the same workbook.

The code is open and commented.


--

Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"


"ontheDB" wrote in message
...
I'm populating a table from a SQL Server source.

I dump the info into a worksheet.
Is there anyway to query that info like it was still a database table
?
i.e. have SQL statements as the function of individual cells ?

Can functions be that complicated ?


also:
how do you supress the column titles when querying in SQL ?



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
If statements in Excel Joel Excel Discussion (Misc queries) 2 December 17th 07 11:34 AM
If\then statements in Excel [email protected] Excel Worksheet Functions 1 October 24th 07 07:10 PM
Excel - Any Help On If Statements BONJOVI2005 Excel Discussion (Misc queries) 2 December 12th 05 10:04 AM
Excel If Statements, please help! izzie Excel Worksheet Functions 4 December 8th 05 08:36 PM
Excel Help with IF statements alexm999 Excel Discussion (Misc queries) 1 July 26th 05 08:54 PM


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