Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default access a column via a select statement

Hi,

I am trying to access a excel spreadsheet using the OleDB.

I have been able to open the worksheet up, but it would seem that I can only
perform 'select * from [sheet1$]'

I want to be able to select only a small number of columns from the sheet,
but when i try 'select A,B from [sheet1$]' it causes an error.

Is there a specific syntax to access Column A/B in a select statement ?

Thanks

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
VBA: Column Select then Data Select then return to cell A1 James C[_2_] Excel Discussion (Misc queries) 3 February 1st 10 11:35 AM
For...Next or Select Case Statement VBA_Newbie79[_2_] Excel Programming 3 July 2nd 07 08:44 PM
Trouble with select statement James W.[_2_] Excel Programming 0 May 19th 05 06:04 PM
SELECT statement Tom Ogilvy Excel Programming 2 July 23rd 04 06:24 PM
Adding SQL Select Statement Pepe[_2_] Excel Programming 1 January 29th 04 02:19 AM


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