ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ? Get Worksheet Codename List (https://www.excelbanter.com/excel-programming/358579-get-worksheet-codename-list.html)

gabch[_10_]

? Get Worksheet Codename List
 

Hi,

How can I get back the Worksheet CodeName List?


Best regard

--
gabc
-----------------------------------------------------------------------
gabch's Profile: http://www.excelforum.com/member.php...fo&userid=3066
View this thread: http://www.excelforum.com/showthread.php?threadid=53184


Tom Ogilvy

? Get Worksheet Codename List
 
Sub ABC()
Dim v As Object
For Each v In ThisWorkbook.VBProject.VBComponents
If v.Type = vbext_ct_Document Then
If v.Name < "ThisWorkbook" Then
s = s & v.Name & " - " & _
v.Properties("Name") & vbCr
End If
End If
Next
MsgBox s
End Sub

--
Regards,
Tom Ogilvy


"gabch" wrote:


Hi,

How can I get back the Worksheet CodeName List?


Best regards


--
gabch
------------------------------------------------------------------------
gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662
View this thread: http://www.excelforum.com/showthread...hreadid=531847




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

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