The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you enter intersecting cell ranges in a user- defined function, using defined names for the ranges, you receive a general protection (GP) fault. CAUSEYou receive the GP fault if the function is a Visual Basic function. You do not receive a GP fault if you enter the intersection of named ranges in a built-in function, or a Microsoft Excel version 4.0 macro function. WORKAROUNDTo avoid receiving a GP fault when you enter an intersection of ranges in a user-defined function, reference the intersection of ranges using the cell references, instead of the named ranges. For example, in the user-defined function Test, enter the intersection of cell ranges using the following formula: =Test(A1:A4 A4:D4) STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0c for Windows. MORE INFORMATIONUse a space (the intersection operator) to refer to the intersection of two or more cell ranges. For example, the following formula =A1:A4 A4:D4refers to the intersection of the ranges A1:A4 and A4:D4, which is the value in the cell A4. REFERENCESFor more information about Referring To Intersecting Cell Ranges, choose the Search button in Help and type: intersection of ranges Additional query words: gpf crash hang
Keywords : kbenv kbprg xlwin |
Last Reviewed: October 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |