Updating the size of range Name is necessary when using Names in formulas (such as VLOOKUP or INDEX) and as a source data for PivotTable Report.
To automatically update a range Name:
Insert the following formula into the Refers to box in the New Name dialog box:
This OFFSET formula returns the range address calculated by measuring the width (number of rows) and the height (number of columns) of a reference.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.