LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Query Tables naming not going to plan...

I have exactly the same problem creating QueryTables dynamicaly.
First time the name is ok, next attemps will produce ***_1 or ***_2 if I
don't remove previous ones.
So the problem still the same if I manually remove Names and Connections.
It seems ike Excel keep the name in an other place.
I even tried that before adding my QueryTables :
For Each WSheet In ThisWorkbook.Worksheets
For Each QTable In WSheet.QueryTables
QTable.Delete
Next QTable
Next WSheet
For Each n In ThisWorkbook.Names
n.Delete
Next

I can't find out any solution.
 
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
QueryTable.add naming problem (web query) PeacefulAnd4getful Excel Programming 2 August 27th 10 08:30 AM
Data Tables and Cell Naming anonymous Excel Discussion (Misc queries) 1 April 10th 07 09:18 AM
Naming word tables or coding reference library with vba hornbecky83 Charts and Charting in Excel 6 January 21st 07 01:11 AM
Naming word tables or coding reference library with vba hornbecky83 Excel Programming 4 January 21st 07 01:11 AM
format plan into tables Little pete Excel Discussion (Misc queries) 3 June 2nd 06 05:14 PM


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