Access 2007, Rich Text control. Cannot programmatically change font.Am I mad?

K

Kinch

Hi all
I have a rich text control (bound to a ntext SQL server field if
that's relevant).
All I want to do is press a button that will make sure that whatever
text is in the control [SectionSummary] is changed to Arial 11.
I have pasted some TNR 12 text into the box and when I press my test
button the following code runs

With Me.SectionSummary
.FontName = "Arial"
.FontSize = 11
End With

The text is selected. The code runs but there is no change, the
existing text remains TNR 12

Is there some magical incantation or is it just broken? Access has
no .selfontname property by default
Its Access 2007 SPK2 btw.
Thanks
Kinch
 

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

Similar Threads


Top