Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Excel data connection

Hi all,

I have a question relating to the Excel office data connections in Excel
2007. I have a file which contains numerous embedded connections pointing to
various sheets which create table/pivot table structures. I am using this
file in an application which refreshes the data and then uses the new data to
create various outputs. The question i have surrounds the ability to change
the connection string.

I can set the command text via my application and change this as required.
The problem i have is if i want to point the sources to another server. Is
there any way that i can set up a connection sting in my app.config file and
use this to change the connection string at runtime? my app is a .Net
application using C#.

Any help on this would be much appreciated as i'm having absolutely no luck.

Thanks in advance,

G
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
Excel 2007 data connection Kurt Barr Excel Discussion (Misc queries) 1 March 9th 10 08:32 PM
Data Connection from Excel to Access Deniz Yalman Excel Programming 0 March 3rd 08 09:10 AM
Excel data connection to Access Sharon Excel Discussion (Misc queries) 1 February 14th 08 08:33 PM
always recheck data connection library for latest connection strin FurmanGG Excel Discussion (Misc queries) 0 September 14th 07 04:48 PM
Excel ODBC Data Connection jerm Excel Programming 2 January 19th 07 03:41 PM


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