Problem with external data and #reference error

B

Bodo

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.
 
P

Patrick Molloy

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

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

Bodo

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 said:
I don't know what you mean with #1.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top