Underline partial textbox contents

  • Thread starter Thread starter tracey
  • Start date Start date
T

tracey

is it possible to underline part of the contents of a text
box? I have created a report with textboxes that have
text "hard coded"and concantinated another value. Example
of textbox.value: ="This agreement, made this " & Format
([text8],"dd") & " day of " & Format([text8],"mmmm") & "
A.D. " & Format([text8],"yyyy") & " by and ...

I want the returned variables to be underlined.

Thanks!
 
Not in a standard textbox. You need to use a rich text control to do that or
some other method

Check out the following URL for a free rtf control.
http://www.lebans.com/richtext.htm

Also take a look at:
http://www.lebans.com/mixbold-plain.htm

You might be able to adapt this to use underline vice bold text. If you do
modify it and it doesn't work - do not blame Mr. Lebans. His code works and you
need to figure out what you changed that broke it.

Hope this gives you some ideas.
 
Back
Top