XL98: "System Error H80000003 (-2147483645)" Renaming TabStrip Tab (238178)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
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.
WORKAROUNDMicrosoft 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:
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.
- 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. - Press F5 to run the UserForm.
The second tab in the UserForm is named Custom Tab instead of Tab2.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbbug kberrmsg kbnofix KB238178 |
---|
|