Microsoft KB Archive/238178

= XL98: "System Error H80000003 (-2147483645)" Renaming TabStrip Tab =

Article ID: 238178

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q238178



SYMPTOMS
When you click OK in the Rename dialog box, you may receive the following error message:

System Error &H80000003 (-2147483645).



CAUSE
This error message may error when you try to rename a tab on a TabStrip control.



WORKAROUND
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:

https://partner.microsoft.com/global/30000104

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

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

To work around this problem, rename the tab at run time. The following sample code demonstrates how to rename the second tab in a TabStrip, using the Initialize event for a UserForm:  Save and close any open workbooks. Then, open a new workbook. Start the Visual Basic Editor (press OPTION+F11). On the Insert menu, click UserForm. Add a TabStrip control to the UserForm. Double-click the UserForm to display its code module. In Procedure list, click Initialize.</li>  Modify the code for the Initialize event to the following: Private Sub UserForm_Initialize UserForm1.TabStrip1.Tabs(1).Caption="Custom Tab" End Sub Note, the tabs on a TabStrip are zero (0) based, which means the index number for the first tab is 0. </li> Press F5 to run the UserForm.</li></ol>

The second tab in the UserForm is named Custom Tab instead of Tab2.

Additional query words: XL98

Keywords: kbbug kberrmsg kbnofix KB238178

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.