If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Format text box as Bulleted List as default
In AC2007 I would like to have a text box (rich text format)
on my form automatically format the text that a user enters as a bulleted list when they begin typing. Currently the user needs to click the "Start a bulleted list" button on the ribbon before they begin typing. |
#3
|
|||
|
|||
Format text box as Bulleted List as default
"Dirk Goldgar" wrote: "Steve P" Steve wrote in message ... In AC2007 I would like to have a text box (rich text format) on my form automatically format the text that a user enters as a bulleted list when they begin typing. Currently the user needs to click the "Start a bulleted list" button on the ribbon before they begin typing. I haven't tried this out to see how it would work in practice, but you could try something like this in the control's GotFocus event: '------ start of (untried) code ------ Private Sub txtMyRichText_GotFocus With Me.txtMyRichText If Len(.Value & vbNullString) = 0 Then .Value = "ulli/li/ul" End If End With End Sub '------ end of (untried) code ------ -- Dirk Goldgar, MS Access MVP Access tips: www.datagnostics.com/tips.html (please reply to the newsgroup) That works. Thank You! |
Thread Tools | |
Display Modes | |
|
|