Message 1 of 7
Not applicable
02-05-2013
03:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
While loop through all Views in a sheet, I can use oView.ScaleFromBase to know if the scale of the view is changed from Base-View. Like this:
For Each oView In oViews
If oView.ScaleFromBase = False Then
'This view's scale is different from that of the Base-View But I can't tell in this way if it is a Base-View or views with different view scale.
There is a oView.ViewType, I tried this
Dim mytype As String mytype = oView.ViewType
for Base-View, mytype=10501
for other-view with different scale, mytype=10504
Is there other property I could use? Can't work out how to get the View Type Name.
Thanks for help.
Regards,
Peter
Solved! Go to Solution.
