MsoTextUnderlineType enumeration (Office)

Indicates the type of underline for text.

Name Value Description
msoNoUnderline 0 Specifies no underline.
msoUnderlineDashHeavyLine 8 Specifies a dash underline.
msoUnderlineDashLine 7 Specifies a dash line underline.
msoUnderlineDashLongHeavyLine 10 Specifies a long heavy line underline.
msoUnderlineDashLongLine 9 Specifies a dashed long line underline.
msoUnderlineDotDashHeavyLine 12 Specifies a dot dash heavy line underline.
msoUnderlineDotDashLine 11 Specifies a dot dash line underline.
msoUnderlineDotDotDashHeavyLine 14 Specifies a dot dot dash heavy line underline.
msoUnderlineDotDotDashLine 13 Specifies a dot dot dash line underline.
msoUnderlineDottedHeavyLine 6 Specifies a dotted heavy line underline.
msoUnderlineDottedLine 5 Specifies a dotted line underline.
msoUnderlineDoubleLine 3 Specifies a double line underline.
msoUnderlineHeavyLine 4 Specifies a heavy line underline.
msoUnderlineMixed -2 Specifies a mixed of underline types.
msoUnderlineSingleLine 2 Specifies a single line underline.
msoUnderlineWavyDoubleLine 17 Specifies a wavy double line underline.
msoUnderlineWavyHeavyLine 16 Specifies a wavy heavy line underline.
msoUnderlineWavyLine 15 Specifies a wavy line underline.
msoUnderlineWords 1 Specifies underlining words.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.