Microsoft KB Archive/157415

From BetaArchive Wiki

Article ID: 157415

Article Last Modified on 11/23/2006



APPLIES TO

  • Microsoft Excel 97 Standard Edition



This article was previously published under Q157415


SUMMARY

In the Value Property Help topic in the Microsoft Forms Reference, the TabStrip control is missing from the list of controls in the Settings table. The TabStrip control has a Value property and should be included in this list.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Controls That Use the Value Property

The Value property specifies the state or content of a given control. The following list of controls have the Value property:

CheckBox
ComboBox
ListBox
MultiPage
OptionButton
ScrollBar
SpinButton
TabStrip
TextBox
ToggleButton


The Value Property help topic lists all of the controls except the TabStrip control, and describes how to use the Value property with each control.

Using the Value Property with the TabStrip Control

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

When you use the TabStrip control, the Value property returns the index of the active tab on the TabStrip control. For example, to display the index of the active tab, use the following statement:

   MsgBox TabStrip1.Value
                

You can also set the Value property to activate a specific tab on the TabStrip control. For example, to make the second tab of a TabStrip control active, use the following statement:

   TabStrip1.Value = 1
                

NOTE: On a TabStrip control, the first tab has an index value of zero (0), the second tab has a value of one (1), and so on.

REFERENCES

For more information about the TabStrip Control, from the Visual Basic Editor, click the Office Assistant, type tabstrip, click Search, and then click to view "TabStrip Control."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, please see the following article in the Microsoft Knowledge Base:

176476 OFF: Office Assistant Not Answering Visual Basic Questions



Additional query words: XL97 vbe tab strip user form 8.0

Keywords: kbdtacode kbinfo kbprogramming KB157415