_Application.CommandUnderlines Property
Returns or sets the state of the command underlines in Microsoft Excel for the Macintosh.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property CommandUnderlines As XlCommandUnderlines
Get
Set
'Usage
Dim instance As _Application
Dim value As XlCommandUnderlines
value = instance.CommandUnderlines
instance.CommandUnderlines = value
XlCommandUnderlines CommandUnderlines { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlCommandUnderlines
Remarks
XlCommandUnderlines can be one of these XlCommandUnderlines constants:
xlCommandUnderlinesOn
xlCommandUnderlinesOff
xlCommandUnderlinesAutomatic
In Microsoft Excel for Windows, reading this property always returns xlCommandUnderlinesOn, and setting this property to anything other than xlCommandUnderlinesOn is an error.