D
DanL
I am using MS Query to return a table of data within Excel 2007. The source
data for the query is a named range within the same Excel file, and the named
range is actually a table (which is set to refresh when the workbook is
opened).
The query has a parametrized value that is getting its value from a cell in
the same worksheet. I have set the properties of the parameter value to
"Refresh automatically when cell value changes".
This works correctly most of the time--the query updates when I change the
cell value.
However, when I save the workbook, open it, save it again without changing
the cell, and reopen it, the query does not refresh automatically. If I
close the file without saving and reopen it, the query still does not refresh
automatically. However, if I change the value of the cell, manually refresh
the table that is used as the named range in the query, save the file, and
then reopen it, the query updates automatically again.
Basically, when I open the workbook if I see the table used in the named
range refreshing, I know the query will refresh when I change the
parametrized cell. But if I don't see the table refreshing, the query won't
refresh either.
Is this a bug? Am I doing something wrong?
data for the query is a named range within the same Excel file, and the named
range is actually a table (which is set to refresh when the workbook is
opened).
The query has a parametrized value that is getting its value from a cell in
the same worksheet. I have set the properties of the parameter value to
"Refresh automatically when cell value changes".
This works correctly most of the time--the query updates when I change the
cell value.
However, when I save the workbook, open it, save it again without changing
the cell, and reopen it, the query does not refresh automatically. If I
close the file without saving and reopen it, the query still does not refresh
automatically. However, if I change the value of the cell, manually refresh
the table that is used as the named range in the query, save the file, and
then reopen it, the query updates automatically again.
Basically, when I open the workbook if I see the table used in the named
range refreshing, I know the query will refresh when I change the
parametrized cell. But if I don't see the table refreshing, the query won't
refresh either.
Is this a bug? Am I doing something wrong?