XL2000: Macro to Restore Tab Split Box to Default Position (213505)
The information in this article applies to:
This article was previously published under Q213505 SUMMARY
In Microsoft Excel 2000, it is possible to adjust the space allocated for
displaying sheet tabs and the horizontal scroll bar by moving the tab split
box. The tab split box is located between the sheet tabs and the horizontal
scroll bar.
This article contains sample Microsoft Visual Basic for Applications
macros to restore the tab split box to its default position.
MORE INFORMATIONMicrosoft 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:
Some video drivers, particularly very high-resolution drivers (1024 x 768, 1280 x 1024, and so on), may exhibit "jumpiness" when you switch from one
insertion point mode to another (for example when you move the insertion
point from the worksheet, where it usually appears as an arrow or a
plus sign [+], to the tab split box or the split box, where the insertion
point appears as a two-way split symbol).
If your screen is jumpy, it may be difficult to determine whether your
insertion point is positioned over the split box or the tab split box when
these boxes are right next to each other. You may need to use a macro to
restore the tab split box to its default position.
The following macro restores the tab split box to its default
position.
Sample Visual Basic Procedure
Sub CenterTabSplitBox
ActiveWindow.TabRatio = 0.6
End Sub
When you want to run this macro, click Macro on the Tools menu. Select the name of the macro from the list of macros, and then click Run to run the macro. Your tab split box is restored to the default position.
REFERENCESFor additional information about getting help with Visual Basic forApplications, click the article number below
to view the article in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbinfo kbProgramming KB213505 |
---|
|