Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Excel sample with ADO / SQL

I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Excel sample with ADO / SQL

Hi Steve,

See Ole P. Erlandsen at:

Import data from Access to Excel (ADO)
http://www.erlandsendata.no/english/...badacimportado


---
Regards.
Norman


"steve" wrote in message
...
I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Excel sample with ADO / SQL

hi Steve

See
http://www.rondebruin.nl/accessexcel.htm

See also this page from Ole P. Erlandsen's
http://www.erlandsendata.no/english/...php?t=envbadac



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"steve" wrote in message ...
I was wondering if someone could post a simple bit of VBA that would run a
basic "SELECT" query on a database using ADO and put the values in a
spreadsheet. This would be a great help.

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
SAMPLE EXCEL DATA EricB Excel Worksheet Functions 2 April 30th 10 03:44 PM
Can I random sample from a set until every sample is selected? random sampling Excel Discussion (Misc queries) 6 April 26th 10 09:54 PM
Sample Codes for SQL for Excel VBA Sandra Poh Excel Programming 3 May 17th 06 03:03 AM
is there any sample of an excel dashboard ? Gabe Excel Programming 3 November 8th 05 01:35 PM
How do I create a sample in Excel? Mary Excel Discussion (Misc queries) 1 July 12th 05 11:13 PM


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