Export (0) Print
Expand All
Expand Minimize

CellsSRCExists property

CellsSRCExists property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

http://msdn.microsoft.com/en-us/library/aa141919(v=office.10) See also         Example         http://msdn.microsoft.com/en-us/library/aa164278(v=office.10) Applies to

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

Version added



intRet = object.CellsSRCExists(section, row, column, fExistsLocally)


Integer. False (0) if a cell doesn't exist; True (-1) if it does.


Required. An expression that returns a Shape object.


Required Integer. The cell's section index.


Required Integer. The cell's row index.


Required Integer. The cell's column index.


Required Integer. The scope of the search.


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 to 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 property.

© 2014 Microsoft