XlInsertFormatOrigin enumeration (Excel)

Specifies from where to copy the format for inserted cells.

Name Value Description
xlFormatFromLeftOrAbove 0 Copy the format from cells above and/or to the left.
xlFormatFromRightOrBelow 1 Copy the format from cells below and/or to the right.

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.