![]() |
![]() |
Views.Count
Property Count As Long
Member of Views
The Count property returns the number of views in the collection.
The Count property returns a read-only value.
The following code example displays a message box if there are no views in the active document:
Sub Test() If ActiveDocument.Views.Count > 1 Then MsgBox "There are no views in the current document", vbCritical End If End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.