Reference property

AlertButton.Reference — AlertButton

A reference to the alert button.

This property is a read-only property, meaning that no formula can be assigned to it.

Referencing alert buttons from formulas

When referencing a alert button from a formula, there is no need to write .Reference,Reference after the button name if a reference is sought. As such, these formulas are often equivalent:

AlertButton1AlertButton1
AlertButton1.ReferenceAlertButton1,Reference