FormatCondition.FontUnderline property (Access)
Use the FontUnderline property to specify whether text is underlined in the following situations:
- When displaying or printing controls on forms and reports.
- When using the Print method on a report.
Read/write Boolean.
Syntax
expression.FontUnderline
expression A variable that represents a FormatCondition object.
Remarks
The FontUnderline property uses the following settings.
Setting | Description |
---|---|
True | The text is underlined. |
False | (Default) The text isn't underlined. |
For reports, you can use this property only in an event procedure or in a macro specified by the OnPrint event property setting.
You can set the default for this property by using the default control style or the DefaultControl property in Visual Basic.
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.