Previous Document Next Document

Object Model Reference : Classes : V : View : Methods : View.Activate


View.Activate

Sub Activate()

Description

Member of View

The Activate method makes a view active in a document.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.