Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Replaces the text range with the contents of the Clipboard in the format specified. If the paste succeeds, this method returns a TextRange2 object, including the text range that was pasted.
Syntax
expression.PasteSpecial (Format)
expression An expression that returns a TextRange2 object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Format | Required | MsoClipboardFormat | Determines the format for the Clipboard contents when they're inserted into the document. |
Return value
TextRange2
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.