Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Sets comment text.
Syntax
expression.Text (Text, Start, Overwrite)
expression A variable that represents a Comment object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Text | Optional | Variant | The text to be added. |
| Start | Optional | Variant | The character number where the added text will be placed. If this argument is omitted, any existing text in the comment is deleted. |
| Overwrite | Optional | Variant | False to insert the text. The default value is True (text is overwritten). |
Return value
String
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.