Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default GetOleDbSchemaTable: Exclude named ranges from Excel

When extracting Excel worksheet names using GetOleDbSchemaTable, is there a
way to exclude named ranges in Excel from the result ?

I'm only interrested in getting worksheets returned in the table collection.

Any help would be greatly appreciated.

Thanks in advance,
Thomas
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default GetOleDbSchemaTable: Exclude named ranges from Excel

Thomas,

see http://support.microsoft.com/default...b;EN-US;257819

there it explains how to get(or not to get) the difference bewteen
names and worksheets., I think the table_type shoud be different for
names and sheets.

DM Unseen

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default GetOleDbSchemaTable: Exclude named ranges from Excel

First of all, thanks for your suggestion.

Unfortunately there's nothing in the returned result that can be used to
differentiate them as far as I can tell. Table_type returns "table" for all
:-(



"DM Unseen" wrote:

Thomas,

see http://support.microsoft.com/default...b;EN-US;257819

there it explains how to get(or not to get) the difference bewteen
names and worksheets., I think the table_type shoud be different for
names and sheets.

DM Unseen


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default GetOleDbSchemaTable: Exclude named ranges from Excel

ADOX should work

download from: http://www.appspro.com/Tips/WorkbookTips.htm

DM Unseen

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
Excel 2007 Named Ranges Barb Reinhardt Excel Discussion (Misc queries) 0 September 22nd 08 08:01 PM
How Do I Do an Exclude Filter based on a Named Range? Dawg House Inc Excel Worksheet Functions 8 April 11th 06 02:49 AM
Like 123, allow named ranges, and print named ranges WP Excel Discussion (Misc queries) 1 April 8th 05 06:07 PM
VB.Net DLL Using Excel Named Ranges ShockWave[_3_] Excel Programming 2 July 8th 04 05:54 PM
named ranges - changing ranges with month selected gr8guy Excel Programming 2 May 28th 04 04:50 AM


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