Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Changing a Data Source in Excel 2000

I've got a problem where I've changed servers and the ODBC data source that
the Excel file was created with.

Now all I want to do is change the data source, but the program won't let
me. I've even tried modifying the connection information I can see within the
XLS file in Notepad, but it isn't being saved right and Excel won't open it
up.

When I click on a cell and tell it to refresh data I get an error message,
and then a window pops up asking me to select a data source. I select the
valid one, but it still hangs and returns an error message. If I try to edit
the query and maybe changes things from within there, I can't get to the
Query page because it hangs and returns the same error.

I don't want to have to tell the user to recreate the worksheet. It seems
like it should be an easy fix, but I can't figure this out for the life of me.

This happen to anyone else?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default Changing a Data Source in Excel 2000

Thomas

The 'art' is to get an error that says 'data cannot be returned edit it
MSQuery' this is done by selecting the new datasource and then when you get
an error keep selecting OK and when you can get in MSQuery, click the SQL
button and change it here

You may also find that the DSN is named on the users machine, if so you can
change the data source this points to by going to AdministrationODBC in
control panel in windows

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"Thomas Crymes" <Thomas wrote in message
...
I've got a problem where I've changed servers and the ODBC data source
that
the Excel file was created with.

Now all I want to do is change the data source, but the program won't let
me. I've even tried modifying the connection information I can see within
the
XLS file in Notepad, but it isn't being saved right and Excel won't open
it
up.

When I click on a cell and tell it to refresh data I get an error message,
and then a window pops up asking me to select a data source. I select the
valid one, but it still hangs and returns an error message. If I try to
edit
the query and maybe changes things from within there, I can't get to the
Query page because it hangs and returns the same error.

I don't want to have to tell the user to recreate the worksheet. It seems
like it should be an easy fix, but I can't figure this out for the life of
me.

This happen to anyone else?


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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
Data Matching Button for MS Excel 2007 or later Mr. Low Excel Worksheet Functions 0 October 21st 06 10:07 AM
Using Excel 2000 VBA Application on Excel 2003 Excel Worksheet Functions 0 August 8th 06 02:36 AM
Data from Excel 2000 Worksheet with external links is not displayed when opened in Excel 2003 Rich Rodberg Links and Linking in Excel 1 October 21st 05 07:53 AM
Excel 97 chart opened in Excel 2003 - Source Data problem DHunt Charts and Charting in Excel 0 December 6th 04 08:05 PM


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