Partial format of a text message

  • Thread starter Thread starter Silvio
  • Start date Start date
S

Silvio

Is there a way to partially format the code below so that the wording (e.g.
"On 6/22/08 Silvio wrote:" to be in Red and the rest of the comment to be in
black?

Me.ProjComments = "On " & Now() & ", " & DLookup("UserName",
: " & TxComments

I have an unbonded control (Comments) and a command button that will capture
the name of the current user, the date and the comment so all this
infromation is saved in me.ProjComments
 
The text box in all versions of Access before 2007 is incapable of
formattting part of the text differently than the rest.

If this is Access 2007, you can add HTML tags to the text, and set the Text
Format property to Rich Text.

In earlier versions, you need to download a rich text box such as this one:
http://www.lebans.com/richtext.htm
 
Thank you Allen, I think I will give up on this one. (I love your web site,
its very informative)
 
Back
Top