HotXLS-dokumentation

Underline egenskab

Returnerer or sets the type of underline applied to the font. Read/write LongWord

Syntaks

property Underline: LongWord;

Beskrivelse

Underline can be one of these XlUnderlineStyle constants:
xlUnderlineStyleNone
xlUnderlineStyleSingle
xlUnderlineStyleDouble
xlUnderlineStyleSingleAccounting
xlUnderlineStyleDoubleAccounting

Eksempel

This example sets the font in the cell A1 to single underline

Workbook.Worksheets[1].Range['A1', 'A1'].Font.Underline := xlUnderlineStyleSingle;