Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This one has really got me pulling my hair out!
I want to store a short text string in the tag property of each tab on a tabstrip using, eg. Me.TabStrip1.Tabs(1).Tag = "newtag" I don't get any error doing this but when I try to retrieve the string I still get the default "Tab2" Does anyone else see get this result? Any ideas? Thanks, Andrew |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
AFAIK the Tag property is for the Tabstrip not the individual Tabs. Therefore you can set the Tag as...... Me.Tabstrip1.Tag = "newtag" Your coding does not work for me in Excel 2002 either. -- Cheers Nigel wrote in message oups.com... This one has really got me pulling my hair out! I want to store a short text string in the tag property of each tab on a tabstrip using, eg. Me.TabStrip1.Tabs(1).Tag = "newtag" I don't get any error doing this but when I try to retrieve the string I still get the default "Tab2" Does anyone else see get this result? Any ideas? Thanks, Andrew |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Nigel,
If you declare a variable as, Dim tb as msforms.tab then tb.tag is listed as an available property (ie. separate from the tabstrip tag). tb.tag will return the tag name of the tab in question (eg. "tab1" or "tab2" etc.) but it appears to be write only - I can't change the "tab2" to "newtabname". Never mind, I will store the names I want in an array instead. Thanks for testing for me. Cheers, Andrew "Nigel" wrote in message ... Hi AFAIK the Tag property is for the Tabstrip not the individual Tabs. Therefore you can set the Tag as...... Me.Tabstrip1.Tag = "newtag" Your coding does not work for me in Excel 2002 either. -- Cheers Nigel wrote in message oups.com... This one has really got me pulling my hair out! I want to store a short text string in the tag property of each tab on a tabstrip using, eg. Me.TabStrip1.Tabs(1).Tag = "newtag" I don't get any error doing this but when I try to retrieve the string I still get the default "Tab2" Does anyone else see get this result? Any ideas? Thanks, Andrew |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
tabstrip when chart is saved as webpgae | Excel Discussion (Misc queries) | |||
Tabstrip control | Excel Programming | |||
Adding tabstrip and runtime | Excel Programming | |||
DataCombo seems locked after changing TabStrip | Excel Programming | |||
DataCombo seems locked after changing TabStrip | Excel Programming |