The information in this article applies to:
SYMPTOMS
In Microsoft Excel, if you use a Visual Basic procedure to create a
style with a name that ends with a space character, such as "test ",
you cannot delete this style. When you select the style in the Style
dialog box, the Delete button is unavailable (dimmed).
you do not receive an error message, but the style is not deleted.
CAUSE
This behavior occurs because when you use a Visual Basic procedure to
create a new style, it is possible to add a style with a name that ends in
a space character. This behavior is incorrect, and results in a style that
you cannot delete.
WORKAROUNDTo avoid this behavior when you create a style using a Visual Basic procedure, make sure that any style names that you add do not end with a space character. STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Microsoft Excel version 5.0c.
REFERENCESFor more information about Creating And Deleting A Style, choose the Search button in Help and type: styles Additional query words: grey gray
Keywords : xlwin |
Last Reviewed: October 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |