Hello,
I’m trying to format only selected text in an RTF Memo field in Access 2007
I’m able to copy selected text in a Memo field to the Windows clipboard with following code:
Private Sub Memo_MouseUp(Bu tton As Integer, Shift As Integer, X As Single, Y As Single)
DoCmd.RunComman d acCmdCopy
End Sub
But I would like to know if there is anyway that I can format that selected text.
I’ve tried the below:
Me.Memo.FontSiz e = 15
But this formats the whole field. How can I change the FontSize (color, weight etc.) of only the selected text?
Greetings,
ACF
I’m trying to format only selected text in an RTF Memo field in Access 2007
I’m able to copy selected text in a Memo field to the Windows clipboard with following code:
Private Sub Memo_MouseUp(Bu tton As Integer, Shift As Integer, X As Single, Y As Single)
DoCmd.RunComman d acCmdCopy
End Sub
But I would like to know if there is anyway that I can format that selected text.
I’ve tried the below:
Me.Memo.FontSiz e = 15
But this formats the whole field. How can I change the FontSize (color, weight etc.) of only the selected text?
Greetings,
ACF
Comment