הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Returns a Long that represents the number of words in the collection. Read-only.
Syntax
expression.Count
expression Required. A variable that represents a 'Words' collection.
Example
This example displays the number of words in the selection.
If Selection.Words.Count >= 1 And _
Selection.Type <> wdSelectionIP Then
MsgBox "The selection contains " & Selection.Words.Count _
& " words."
End If
See also
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.