Range.HasArray property (Excel)
True if the specified cell is part of an array formula. Read-only Variant.
expression A variable that represents a Range object.
This example displays a message if the active cell on Sheet1 is part of an array.
Worksheets("Sheet1").Activate If ActiveCell.HasArray =True Then MsgBox "The active cell is part of an array" End If
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.