Hi All
I am hoping someone can help me out. I have a continuous form that has a number of fields however one of these fields [Details] is set to Rich Text.
What i am trying to do is have some code on AfterUpdate to ensure that any text entered is changed to a specific font family and size - Calibri Size 10.
The code i have tried does not seem to work - i do not get any errors but it doesnt change the font. The code i am trying is as below:
Private Sub Details_AfterUpdate()
With Me.[Details]
.SetFocus
.FontName = "Calibri"
.FontSize = 10
.ForeColor = vbBlack
End With
End Sub
Can anyone point me in the right direct? Thanks in advance
I am hoping someone can help me out. I have a continuous form that has a number of fields however one of these fields [Details] is set to Rich Text.
What i am trying to do is have some code on AfterUpdate to ensure that any text entered is changed to a specific font family and size - Calibri Size 10.
The code i have tried does not seem to work - i do not get any errors but it doesnt change the font. The code i am trying is as below:
Private Sub Details_AfterUpdate()
With Me.[Details]
.SetFocus
.FontName = "Calibri"
.FontSize = 10
.ForeColor = vbBlack
End With
End Sub
Can anyone point me in the right direct? Thanks in advance