ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Retrieving SQL data into Excel (https://www.excelbanter.com/setting-up-configuration-excel/96416-retrieving-sql-data-into-excel.html)

Rob

Retrieving SQL data into Excel
 
Hi,

While I can retrieve data from a SQL Server into Excel successfully, I'd
like to filter the data by specifying a criteria where the date column from
the SQL Server database is greater than or equal to the current date.

I have tried using the TODAY() Excel function but to no avail. Has anyone
else tried this? Your comments, help, and suggestions are highly appreciated.
TIA.

Regards,

- Rob.

Nick Hodge

Retrieving SQL data into Excel
 
Rob

Try here

http://www.nickhodge.co.uk/gui/datam...taexamples.htm

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Rob" wrote in message
...
Hi,

While I can retrieve data from a SQL Server into Excel successfully, I'd
like to filter the data by specifying a criteria where the date column
from
the SQL Server database is greater than or equal to the current date.

I have tried using the TODAY() Excel function but to no avail. Has anyone
else tried this? Your comments, help, and suggestions are highly
appreciated.
TIA.

Regards,

- Rob.





All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com