W
Werner Rohrmoser
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.Range("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
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.Range("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