CanvasShapes.Count Property
Word Developer Reference |
Returns a Long that represents the number of canvas shapes in the specified collection. Read-only.
Syntax
expression.Count
expression Required. A variable that represents a CanvasShapes collection.
Example
This example displays the number of paragraphs in the active document.
Visual Basic for Applications |
---|
|
This example displays the number of words in the selection.
Visual Basic for Applications |
---|
|
This example uses the aFields() array to store the field codes in the active document.
Visual Basic for Applications |
---|
|
See Also