ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I get the current Excel CustomView in VB (https://www.excelbanter.com/excel-programming/348726-how-do-i-get-current-excel-customview-vbulletin.html)

Paul

How do I get the current Excel CustomView in VB
 


Chip Pearson

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
...





All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com