T
TY
Hi,
I have a workbook that has UDF cells, and these UDF make references to
other cells in the worksheet:
Function foo() is to retrieve values from database.
A B C
1 V1 V4 =foo(A1,B1)
2 V2 =foo(A2,B1)
3 V3 =foo(A3,B1)
C1 was created by typing '=foo(A1,B1)' directly, whereas C2 and C3 are
created by copying C1, and making changes to the 2nd argument.
The workbook is saved.
When opened in automatic calculation mode, all 3 UDFs are refreshed
properly.
Now, modify the source UDF (cell C1) without referencing A1:
A B C
1 V1 V4 =foo("V1",B1)
2 V2 =foo(A2,B1)
3 V3 =foo(A3,B1)
and save. When opened in automatic calculation mode, cells C2 and C3 are
refreshed, but C1 is not.
Anyone knows why?
And when I copy all the cells and paste them into a new workbook, cell C1
will become #NAME.
Any idea will be helpful.
Thanks.
Teresa
I have a workbook that has UDF cells, and these UDF make references to
other cells in the worksheet:
Function foo() is to retrieve values from database.
A B C
1 V1 V4 =foo(A1,B1)
2 V2 =foo(A2,B1)
3 V3 =foo(A3,B1)
C1 was created by typing '=foo(A1,B1)' directly, whereas C2 and C3 are
created by copying C1, and making changes to the 2nd argument.
The workbook is saved.
When opened in automatic calculation mode, all 3 UDFs are refreshed
properly.
Now, modify the source UDF (cell C1) without referencing A1:
A B C
1 V1 V4 =foo("V1",B1)
2 V2 =foo(A2,B1)
3 V3 =foo(A3,B1)
and save. When opened in automatic calculation mode, cells C2 and C3 are
refreshed, but C1 is not.
Anyone knows why?
And when I copy all the cells and paste them into a new workbook, cell C1
will become #NAME.
Any idea will be helpful.
Thanks.
Teresa