Borders.Item method (PowerPoint)

Returns a LineFormat object for the specified border from the Borders collection.

Syntax

expression.Item (BorderType)

expression A variable that represents a Borders object.

Parameters

Name Required/Optional Data type Description
BorderType Required PpBorderType Specifies which border of a cell or cell range is to be returned.

Return value

LineFormat

Remarks

The BorderType parameter value can be one of these PpBorderType constants.

ppBorderBottom
ppBorderDiagonalDown
ppBorderDiagonalUp
ppBorderLeft
ppBorderRight
ppBorderTop

See also

Borders Object

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.