Altova StyleVision 2024 Enterprise Edition

Method: Select()

 

Description

Makes this range the current user interface selection. You can achieve the same result using: 'objRange.Parent.Selection = objRange'

 

Errors

2001

The authentic range object or its related view object is no longer valid.

 

Examples

' ---------------------------------------

' Scripting environment - VBScript

' ---------------------------------------

Dim objAuthenticView

' we assume that the active document is open in authentic view mode

Set objAuthenticView = Application.ActiveDocument.AuthenticView

 

' set current selection to end of document

objAuthenticView.DocumentEnd.Select()

© 2017-2023 Altova GmbH