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: 2
Default querytable connection fails in Excel 2007

I have an Excel file which contains a Workbook Open event that uses
querytable to query a text file and refreshes the data in the querytable in
the workbook. I have a shortcut on my desktop which opens this Excel file in
Excel. This method of opening the Excel file via a shortcut worked in Excel
2002 but not in Excel 2007. If I open the file in Excel 2007 via a shortcut,
I get the following error: "Method "connection" of object "_QueryTable
Failed". However, if I open Excel 2007 first and then open the file, I do
not get the error. Any thoughts?
 
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 suddenly closes when a DSN-Less connection to SQLServer fails Luis Porras Excel Programming 0 April 26th 07 08:00 PM
QueryTable connection using ADO Recordset jfs Excel Programming 3 November 27th 06 01:54 AM
Prevent error messagebox when refresing querytable from the web fails bzm Links and Linking in Excel 13 January 17th 06 01:24 PM
querytable connection TxRaistlin Excel Programming 2 February 9th 05 01:49 PM
ADO Connection to ORACLE 9.2 through EXCEL fails Dave Bash Excel Programming 5 November 14th 04 06:32 AM


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