Previous Document Next Document
View.Activate

Sub Activate()

Member of View

The Activate method makes a view active in a document.

The following code 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 2007 Corel Corporation. All rights reserved.