Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel, ADO and row number

Hello,

i have to request an Excel Sheet,

so i have an oledbCommand : "SELECT * FROM [sheet1$]"
this is ok, it works

but i want just some lines (no all table) and i know her excel line number,
i would like to do anything so : "SELECT * FROM [sheet1$] WHERE row_num=3"

row_num does not exist, bus is there an "system field" (rownum, rowid,...)
who can do this ?


best regards,
--
Sebho
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Excel, ADO and row number

Hi Sebho

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

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Sebho" wrote in message ...
Hello,

i have to request an Excel Sheet,

so i have an oledbCommand : "SELECT * FROM [sheet1$]"
this is ok, it works

but i want just some lines (no all table) and i know her excel line number,
i would like to do anything so : "SELECT * FROM [sheet1$] WHERE row_num=3"

row_num does not exist, bus is there an "system field" (rownum, rowid,...)
who can do this ?


best regards,
--
Sebho



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
How can I click on a telephone number in an Excel 2002 spreadsheet, and have the number dialed? jbclem Excel Discussion (Misc queries) 2 August 13th 09 01:57 AM
Excel. How to round a number to nearest half number? HaraldS Excel Discussion (Misc queries) 2 February 19th 07 09:50 AM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
excel format cells/Number/Category: Number problem Matts Excel Discussion (Misc queries) 5 December 9th 04 09:47 PM
command to return the row number or cell number in excel? desmondleow[_5_] Excel Programming 1 December 11th 03 10:51 AM


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