LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheet name problem

I use excel driver to retrieve the data (not allowed to use excel object
libaray), the worksheet name seems cannot contain any space(ie. "worksheetname"
but not "worksheet name") . Is this can be solved ?

cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Excel
8.0;HDR=Yes;IMEX=1';Data Source=........"

cn.CursorLocation = adUseClient

sSQL = "select * from ['worksheetname$'A1:B10]"

rs.Open sSQL, cn


THANKS ALL~~~


 
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
Worksheet problem RM270 Excel Discussion (Misc queries) 3 February 4th 10 01:03 AM
Worksheet problem fomula problems Excel Worksheet Functions 5 June 20th 06 06:58 PM
Worksheet Problem sparx Excel Discussion (Misc queries) 4 February 28th 06 12:28 PM
Worksheet Problem Barb. Excel Worksheet Functions 1 January 28th 06 02:15 AM
For Each Worksheet Problem Mickey Authement Excel Programming 2 August 13th 04 08:37 PM


All times are GMT +1. The time now is 07:09 AM.

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"