Object Model Reference : Classes : V : View : Methods : View.Activate |
Sub Activate()
Member of View
The Activate method makes a view active in a document.
The following VBA example creates and activates a view.
Sub Test() |
Dim Vw As View |
Dim intCounter As Integer |
Set Vw = ActiveDocument.Views.AddActiveView("Test1") |
Vw.Activate |
Set Vw = Nothing |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.