LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.sqlserver.dts,microsoft.public.sqlserver.programming
external usenet poster
 
Posts: 1
Default What does F1 mean???

Hi, all!

When I'm trying to import data from Excel using DTS object in VB one
of the params specified a
oCustomTask1.SourceSQLStatement = "select `F1` from `'Sheet1$'`"
What is F1?
Actually what I need is to specify a range of cells in the Excel to
import into SQL tables. This could be a whole column, part of an excel
column or part of data on the sheet. How can I do this?

Another problem is that while using the procedure I've taken from
aoutomatic generation of VB file from SQL is that the data that is
being imported always loses the first line of data. For instance I
have 61 rows in the Excel file but get only 60 records in the SQL
table, losing the first one on the way.


Thanks a lot for Help,
Ilya
 
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



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

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"