Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default I need a QueryTable.Refresh solution

Hello,

Could someone give me a solution please for the next situation?

I have an excel worksheet where I got a ODBC connection to a SQL Server.
The query represents an execution of a stored procedure with parameters.

I've tried to use SQLOLEDB because this way I don't have to create for each
SQL Server a DSN connection like I do for ODBC connection (and this would
improve a lot excel use), but the Refresh doesn't work if the query string
contains parameters (run time error 1004).

What can I do?

Any idea will be appreciated.
Thanks in advance.

Regards,
Lucian Rosu



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
Repost: Update querytable connections and refresh data Dale Fye Excel Discussion (Misc queries) 2 January 7th 08 05:34 PM
Update querytable connections and refresh data Dale Fye Excel Discussion (Misc queries) 0 November 2nd 07 03:46 PM
Update querytable connections and refresh data Dale Fye Charts and Charting in Excel 0 November 2nd 07 03:46 PM
A QueryTable refresh, a named range, the 'Hidden' property Gregory Kip Excel Programming 0 February 23rd 06 08:35 PM
catching cancel on QueryTable.Refresh tysop Excel Programming 0 February 16th 06 12:48 PM


All times are GMT +1. The time now is 03:15 PM.

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"