#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Querytable

Hi
There is on my computer a macro which is using a querytable. And this querytable is now disabled. when I start it, it's giving to me the message "General ODBC Eroor". Could you explain me where I can found the querytable to see if something have changed (I don't know where is the program of the querytable) and what is this error
Thank
Benjamin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Querytable

for each sh in ActiveWorkbook.worksheets
for each qt in sh.QueryTables
Application.Goto qt.ResultRange, True
selection.Interior.ColorIndex = 5
msgbox "hit enter to continue"
Next
Next

--
Regards,
Tom Ogilvy



"Ben.c" wrote in message
...
Hi,
There is on my computer a macro which is using a querytable. And this

querytable is now disabled. when I start it, it's giving to me the message
"General ODBC Eroor". Could you explain me where I can found the querytable
to see if something have changed (I don't know where is the program of the
querytable) and what is this error ?
Thanks
Benjamin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Querytable

hi Tom,
thanks for the answer but I think I didn't say what I want correctly because I know which are the cells that the querytable change. What I need is to see the program of the querytable...
If you have any idea, you are welcome
thanks. Best regards
Benjamin
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Querytable

You can only see the settings. select in the querytable region and do
Data=Get External Data and select Edit Query

or right click anywhere in the query results and choose edit query.

--
Regards,
Tom Ogilvy

"Ben.c" wrote in message
...
hi Tom,
thanks for the answer but I think I didn't say what I want correctly

because I know which are the cells that the querytable change. What I need
is to see the program of the querytable...
If you have any idea, you are welcome
thanks. Best regards
Benjamin



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Querytable

Nice !!!! Merci beaucoup...
Best regards
Benjamin
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
Webquery [querytable] long url LightShow Excel Discussion (Misc queries) 5 May 21st 07 11:09 PM
QueryTable with Copy/Paste Functions Hudel[_2_] Excel Programming 0 November 17th 03 06:51 PM
Using VBA Copy/Paste and QueryTable Hudel H Excel Programming 0 November 17th 03 04:41 PM
MS QUERY w/out querytable No Name Excel Programming 1 October 24th 03 03:55 PM
How to check if SHEET has QUERYTABLE property ? steve Excel Programming 1 August 22nd 03 06:19 PM


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