Düzenle

Aracılığıyla paylaş


Shape.CellsSRCExists property (Visio)

Determines whether a ShapeSheet cell exists in the scope of a search. Read-only.

Syntax

expression. CellsSRCExists( _Section_ , _Row_ , _Column_ , _fExistsLocally_ )

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data type Description
Section Required Integer The cell's section index.
Row Required Integer The cell's row index.
Column Required Integer The cell's column index.
fExistsLocally Required Integer The scope of the search.

Return value

Integer

Remarks

Constants for section, row, and column indices are declared by the Visio type library as members of VisSectionIndices, VisRowIndices, and VisCellIndices, respectively.

The fExistsLocally argument specifies the scope of the search:

  • If fExistsLocally is non-zero (True), the CellsSRCExists property returns True only if the object contains the cell locally; if the cell is inherited, the CellsSRCExists property returns False.

  • If fExistsLocally is zero (False), the CellsSRCExists property returns True if the object either contains or inherits the cell.

To search for a cell by name, use the CellExists or CellExistsU property.

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.