Excel: OFFSET() Function Returns #VALUE When File Is ClosedLast reviewed: July 11, 1995Article ID: Q80108 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, the OFFSET() function returns a reference value offset by a specified number of rows and columns from a given reference. If this reference refers to an external sheet, a #VALUE! error will be returned if the sheet is closed. This error will occur both in worksheets and in Microsoft Excel 4.0 macro sheets.
WORKAROUNDTo return the correct result, use the appropriate procedure below.
WorksheetOpen the sheet that the reference is referring to.
Microsoft Excel 4.0 Macro SheetOpen the sheet that the reference is referring to and run the macro again.
REFERENCES"Function Reference," version 4.0, pages 299-300 "Microsoft Excel Function Reference," version 3.0, pages 163-164
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |