Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Problem with external data and #reference error

Hi,
my Excel workbook has 2 sheets:

1. Source: with an external data reference to a MS Access database
Query property "If number of rows changes after refresh" is set to
option #1:
"Insert cells for new data, delete unused cells"
User chooses external query selection criteria and therefore can
have different result sets.

2. Target:
Formular B4: =Source!P5
Formular B5: =Source!P6
Formular B6: =Source!P7

Problem:
When Source has data in rows 5, 6 and 7 formular gets calculated correctly.
If Source row #5 has data and #6 and #7 is empty then I get a #refe error in
Target cells B5 and B6.
Error details: Invalid cell reference.

I would have expected that in this case the cell shows no data because the
source cell is empty.

Appreciate any thought on how to troubleshoot.



--
Thanks in advance
Bodo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Problem with external data and #reference error

I don't know what you mean with #1.

the query is probably deleting "unused" cells - that would result in the
#Ref error.


"Bodo" wrote in message
...
Hi,
my Excel workbook has 2 sheets:

1. Source: with an external data reference to a MS Access database
Query property "If number of rows changes after refresh" is set to
option #1:
"Insert cells for new data, delete unused cells"
User chooses external query selection criteria and therefore can
have different result sets.

2. Target:
Formular B4: =Source!P5
Formular B5: =Source!P6
Formular B6: =Source!P7

Problem:
When Source has data in rows 5, 6 and 7 formular gets calculated
correctly.
If Source row #5 has data and #6 and #7 is empty then I get a #refe error
in
Target cells B5 and B6.
Error details: Invalid cell reference.

I would have expected that in this case the cell shows no data because the
source cell is empty.

Appreciate any thought on how to troubleshoot.



--
Thanks in advance
Bodo


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Problem with external data and #reference error

Thanks Patrick for the quick respond.

With option #1 I refer to a query Datarange property that you can set in
excel by clicking on the property icon on the external data toolbar .

This dialog gives you several options one of them is:
If number of rows changes after refresh/update
- Insert cells for new data, delete unused cells
- ...

I tried the other options on that dialog to no avail.



"Patrick Molloy" wrote:

I don't know what you mean with #1.

the query is probably deleting "unused" cells - that would result in the
#Ref error.


"Bodo" wrote in message
...
Hi,
my Excel workbook has 2 sheets:

1. Source: with an external data reference to a MS Access database
Query property "If number of rows changes after refresh" is set to
option #1:
"Insert cells for new data, delete unused cells"
User chooses external query selection criteria and therefore can
have different result sets.

2. Target:
Formular B4: =Source!P5
Formular B5: =Source!P6
Formular B6: =Source!P7

Problem:
When Source has data in rows 5, 6 and 7 formular gets calculated
correctly.
If Source row #5 has data and #6 and #7 is empty then I get a #refe error
in
Target cells B5 and B6.
Error details: Invalid cell reference.

I would have expected that in this case the cell shows no data because the
source cell is empty.

Appreciate any thought on how to troubleshoot.



--
Thanks in advance
Bodo


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
External xls reference error Fluke[_2_] Excel Worksheet Functions 1 May 22nd 09 10:14 AM
External Reference Data Updates. Apexman Excel Programming 3 September 20th 07 01:56 PM
pesky invalid external reference error: how to track it down? Matthew Dodds Excel Programming 0 November 17th 06 03:33 PM
external reference error shawnvb Excel Programming 1 November 24th 04 02:29 PM
problem with: hidden (invalid) external reference Peter van de Kerkhof Excel Programming 1 January 25th 04 09:32 AM


All times are GMT +1. The time now is 11:31 AM.

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"