LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Import data from Excel to SQL Server 2005

Hi
Where is the best forum to get and answer to this question?
If it is here - Cool :-)

All I want is a proven code that can take data from an Excel worksheet
- ie a small table of 4 columns of data only 20 rows long and put it
into an SQL Server database

I have a DSN connection I wish to use

Set dbs = OpenDatabase("MySERVER", dbDriverComplete, True,
"ODBC;DATABASE=DSNConnection;;;")

I would like to use ADO or DAO?

Tried things from other posts but get errors.

Any help appreciated.
Thanks
Dominic
 
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
import data into SQL Server from Excel Rachel[_2_] Excel Discussion (Misc queries) 1 October 27th 08 02:35 AM
how to make Excel linked to SQL Server 2005 worksheet editable? Permood Excel Discussion (Misc queries) 0 July 18th 08 05:06 PM
How to connect the Excel 2007 in SQL Server 2005? davidshen Excel Worksheet Functions 0 March 24th 08 02:11 AM
How do you import many EXCEL worksheets into AutoCAD 2005 drawing Dan Cropper Excel Worksheet Functions 1 April 16th 07 04:06 PM
How to import data from SQL Server amit Excel Discussion (Misc queries) 0 January 15th 07 05:35 AM


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