A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Win98SE, Excel2000: Newly created ODBC from Excel tables work only, when source workbook is opened !!!



 
 
Thread Tools Display Modes
  #1  
Old September 29th, 2004, 12:13 PM
Arvi Laanemets
external usenet poster
 
Posts: n/a
Default Win98SE, Excel2000: Newly created ODBC from Excel tables work only, when source workbook is opened !!!

Hi

During last days I encoutered a problem. When trying to create an ODBC query
from Excel tables, ODBC don't see any named ranges in source workbook, when
the source workbook is closed. When I open the source workbook, named ranges
in source workbook are visible and I can create the query. But when I close
after that the source workbook, and try to refresh the query, the error
message is displayed:
[Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not
find the object "MyNamedRange". Make sure the object exists and that you
spell its name and the path correctly."

All queries created earlier are working normally. The source workbook I was
working with, is situated on shared network resource which is mapped to my
computer, but the ODBC behaviour remained same, when I copied it to my
computer and tried to access it there - so this is not signifant.

From MS KB I didn't fint anything applicable.


Hope for some advice here. Thanks in advance!

--
Arvi Laanemets
(When sending e-mail, use address arvilAttarkon.ee)


  #2  
Old September 30th, 2004, 10:09 AM
Jamie Collins
external usenet poster
 
Posts: n/a
Default

"Arvi Laanemets" wrote ...

During last days I encoutered a problem. When trying to create an ODBC query
from Excel tables, ODBC don't see any named ranges in source workbook, when
the source workbook is closed. When I open the source workbook, named ranges
in source workbook are visible and I can create the query. But when I close
after that the source workbook, and try to refresh the query, the error
message is displayed:
[Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not
find the object "MyNamedRange". Make sure the object exists and that you
spell its name and the path correctly."

All queries created earlier are working normally. The source workbook I was
working with, is situated on shared network resource which is mapped to my
computer, but the ODBC behaviour remained same, when I copied it to my
computer and tried to access it there - so this is not signifant.

From MS KB I didn't fint anything applicable.


I don't use ODBC much so I can only make suggestions (I was going to
say I've never had this error but I turned up this unrelated thread:

http://groups.google.com/groups?thre...ing.google.com

Don't you hate it when your search turns up something you've posted
yourself and it doesn't help ?!)

I suspect it has something to do with the DSN and/or connection string
and/or data source and path used in the query text. For example, have
you changed the path in the query but not in the connection string
(only possible via VBA?) e.g.

http://www.dicks-clicks.com/excel/Ex...htm#ChangeConn

Another thing to consider is have you got the latest MS Jet Service
Pack i.e. download from MSDN:

http://support.microsoft.com/default...b;en-us;239114

Speaking of MSDN, I trust you saw those articles about Excel 4.0
files, defined Names with names longer then 64 characters, etc?

Jamie.

--
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
what to do when a blank page appears when excel workbook opened? excel_user General Discussion 2 September 18th, 2004 10:25 AM
Excel2000: Is there a way to use name as parameter for ODBC query from Excel table Arvi Laanemets General Discussion 2 September 10th, 2004 06:21 AM
Excel2000: Can't access an Excel table though ODBC anymore! Arvi Laanemets General Discussion 6 July 14th, 2004 09:23 AM
Open Excel Workbook as Data Source Debbie S. Mailmerge 1 June 4th, 2004 11:00 AM
Writing a macro to change external links to manual updating in Excel 2000 John Wirt Links and Linking 5 February 16th, 2004 08:03 AM


All times are GMT +1. The time now is 04:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.