Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns a Range object that represents the last word in a collection of words.
Syntax
expression. Last
expression Required. A variable that represents a 'Words' collection.
Example
This example applies bold formatting to the last word in the selection.
If Selection.Words.Count >= 2 Then
Selection.Words.Last.Bold = True
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.