Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This property is not useful still the VBA code window is not open for that workbook. Through addin we can't get the code name for activeworkbook. so the above solution is require.
you try to add your code in one workbook or addin and find out the sheet codename for new workbook without going in VBA code. Chip Pearson wrote: The Worksheet object has a CodeName property that returns the codename of the 26-Feb-10 The Worksheet object has a CodeName property that returns the code name of the sheet. E.,g Dim WS As Worksheet For Each WS In ThisWorkbook.Worksheets Debug.Print "Name: " & WS.Name, "CodeName: " & WS.CodeName Next WS Cordially, Chip Pearson Microsoft Most Valuable Professional, Excel, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com Previous Posts In This Thread: Submitted via EggHeadCafe - Software Developer Portal of Choice Generic Feed Parsers Redux http://www.eggheadcafe.com/tutorials...sers-redu.aspx |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Codename not set | Excel Programming | |||
Using a sheet's 'Codename' | Excel Programming | |||
Codename passing | Excel Programming | |||
VBA codename and codeprotection | Excel Programming | |||
codename help | Excel Programming |