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: 246
Default Long Shot !!

I suspect this isn't possible...but you never know!

I have a lot of Excel reports which use the results of SQL server
queries as their input data.
Using the ADO in VBA, or Excel's import external data, are not viable
options as the queries can take 2hrs to run.

So I have hyperlinks to the .sql files, and go into SQLServer, and set
the query running manually.

Unfortunately we have 7 or 8 servers, so I'm always having to "change
the connection" just after pressing the hyperlink, as SQLServer
doesn't know which server the query should be connected to.

Is there a way of adding some code so that each Hyperlink will know
which Server to connect to ?

Any help much appreciated,
Jason.
 
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
http://CannotDeleteFile.net - Cannot Delete File? Try Long Path ToolFilename is too long? Computer Complaining Your Filename Is Too Long? TheLong Path Tool Can Help While most people can go about their businessblissfully unaware of the Windo Max Loger Excel Discussion (Misc queries) 0 June 14th 11 04:30 PM
May be a long-shot, but..... [email protected] Excel Worksheet Functions 3 July 4th 08 01:03 PM
Long shot? Copy rows but have XL2K insert a space between each row?? StargateFanFromWork[_4_] Excel Programming 2 June 15th 07 04:39 AM
Long shot - bookmap kayos Excel Programming 8 June 2nd 05 04:04 PM


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