Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 441
Default Create an ADO connection to current sheet

I need to create an ADO connection to the current sheet, run a SQL query and
retrieve the results in a recordset.

I have used ADO before, but I don't know how to connect to the current
sheet. It seems like there should be a quick and easy way to do this.

Does anyone have concise and effiicient code that does this? TIA.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Create an ADO connection to current sheet

Previously posted by Jamie Collins:

http://groups.google.com/groups?hl=e...ing.google.com


the URL should all be on one line.
--
Regards,
Tom Ogilvy

"quartz" wrote in message
...
I need to create an ADO connection to the current sheet, run a SQL query

and
retrieve the results in a recordset.

I have used ADO before, but I don't know how to connect to the current
sheet. It seems like there should be a quick and easy way to do this.

Does anyone have concise and effiicient code that does this? TIA.



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
Excel 2007 crashes after viewing property sheet in Data Connection Fritz New Users to Excel 14 April 3rd 12 09:23 AM
How do I create a connection between cells on different worksheets brada_awan Excel Discussion (Misc queries) 2 December 20th 07 05:49 PM
always recheck data connection library for latest connection strin FurmanGG Excel Discussion (Misc queries) 0 September 14th 07 04:48 PM
UDF is updateing cells on another sheet with count from current sheet. John Excel Discussion (Misc queries) 3 March 20th 06 03:58 PM
How do I save an OLAP connection to distribute with an Excel sheet JohnA Excel Discussion (Misc queries) 0 May 19th 05 03:35 PM


All times are GMT +1. The time now is 10:48 AM.

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

About Us

"It's about Microsoft Excel"