XL5: Color List Not Wide Enough to Display 'Automatic' |
In Microsoft Excel, the Color list in the Fonts dialog box may not be wide enough to display the word "Automatic," which is the default color setting.
In the Microsoft Visual Basic Programming System, Applications Edition, you can use the Dialogs and Show methods to display built-in dialog boxes. The three Visual Basic functions below will display the Fonts dialog box:
Application.Dialogs(xlDialogFont).Show
Application.Dialogs(xlDialogFormatFont).Show
Application.Dialogs(xlDialogReplaceFont).Show
Sub Change_Font()
If TypeName(ActiveSheet) = "Worksheet" Then
Application.Dialogs(xlDialogFormatFont).Show
End If
End Sub Additional query words: 5.0
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |