Change FontName in Text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just want change the font for only field in a text box. See my expression
below. Everything else appears but I get a "0" for
([cmbStaffName].[FontName]="Edwardian Script ITC") part of my expression. Is
this possible?

=CanShrinkLines("Sincerely, " & Chr$(13) & Chr$(10) &
([cmbStaffName].[FontName]="Edwardian Script ITC") & Chr$(13) & Chr$(10) &
[cmbStaffName])

Thanks for any help.

Lamar
 
Lamar said:
I just want change the font for only field in a text box. See my expression
below. Everything else appears but I get a "0" for
([cmbStaffName].[FontName]="Edwardian Script ITC") part of my expression. Is
this possible?

=CanShrinkLines("Sincerely, " & Chr$(13) & Chr$(10) &
([cmbStaffName].[FontName]="Edwardian Script ITC") & Chr$(13) & Chr$(10) &
[cmbStaffName])


No can do. The FontName property applies to the entire text
box, not to part of it. If this is an important feature,
you will need to use a third party control such as the RTF
control at www.lebans,com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top