Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alternative ways to bold, etc in reports

Status
Not open for further replies.
Jan 14, 2002
143
US
Hello,

I want to make only selected words bold, underlined, or italic within a phrase inside a label or a text box in a report. I can't find anything on this so I'm guessing not, but still hoping there's a way. Does anybody know how to bold, etc without bolding everything in the label or text box?

Thanks
-Blaine



 
Can't do w/ std (textbox) controls. Can do w/ rtfTextBox, but you need to parse the content to find / select the words and then embed the formatting in the text.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
How do I use the vb code in a report to change a text box to italic based on what's in the text box I have tried the code below. But it dosen't change the Font to Italics

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me![ToChange] <= -200000 And Me![ccycheck] = "GBP" Then
Me![ToChange].FontItalic = Yes
Else

Me![ToChange].FontItalic = No
End If
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top