View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default How do I get the current Excel CustomView in VB

I don't think there is a way to get the custom view. You can list
existing views with code like

Dim Ndx As Long
With ThisWorkbook.CustomViews
For Ndx = 1 To .Count
Debug.Print .Item(Ndx).Name
Next Ndx
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Paul" wrote in message
...