Previous Document Next Document
View.Name

Property Name As String

Member of View

The Name property returns or sets the name of a view.

The following code example sets the name of the first view in the Views collection and displays the new name:

Sub ViewName() 
 With ActiveDocument.Views(1) 
  .Name = "My New View" 
  MsgBox .Name 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.