Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I like to use the codenames of the worksheets in my code, because they do not change even if the user decides to rename a workshet name. When I use the codename directly in my code all methods and properties of a worksheet object are available. When I use a object variable like: "Set VBDataSheet = ThisWorkbook.VBProject.VBComponents(Grenzwerte.Ran ge("AktivesDatenblatt").Value)", which is a vb component I can't use this object like a worksheet object. How can I create a worksheet object based on the codename of a worksheet (name of vbcomponent)? Thanks. Werner |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting a Worksheets Codename to a variable programmatically | Excel Programming | |||
re-direct hyperlink event to WebBrowser Object in Excel | Excel Programming | |||
Add new worksheet and assign it to an object variable? | Excel Programming | |||
Referencing worksheet CODENAME in a chart object. | Excel Discussion (Misc queries) | |||
Referencing worksheet CODENAME in a chart object. | Excel Programming |