This feel like a very basic question, but I just can't get it to work.
What I want is if the 'CustRef' field is greater then 15, then to change the fontsize to 8pt. Below is the code I'm using...
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If Len(Custref) > 15 Then
Custref.FontSize = 8
Else
Custref.FontSize = 10
End If
End Sub
Any ideas gratefully received
What I want is if the 'CustRef' field is greater then 15, then to change the fontsize to 8pt. Below is the code I'm using...
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If Len(Custref) > 15 Then
Custref.FontSize = 8
Else
Custref.FontSize = 10
End If
End Sub
Any ideas gratefully received