Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Returns the Selection object that represents a selected range or the insertion point. Read-only.
Syntax
expression.Selection
expression A variable that represents a Window object.
Example
This example copies the selection from window one to the next window.
If Windows.Count >= 2 Then
Windows(1).Selection.Copy
Windows(1).Next.Activate
Selection.Paste
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.