ctlTextBox.Height = 1440 'size in twips: 1440 = 1 inch
ctlTextBox.Width = 2880 'size in twips: 1440 = 1 inch
'so you can see the area covered by the textbox
ctlTextBox.BackColor = RGB(255, 255, 0)
ctlTextBox.FontSize = 20
ctlTextBox.FontName = "Comic Sans MS"
changing the font size, name, bolding, means you may also need to change
the size of the textbox correspondingly. 1 inch is 1440 twips
John Bickmore
www.BicycleCam.com www.Feed-Zone.com
"dixie" <dixiec@dogmail.com> wrote in message
news:C0%Jb.968$FD6.34284@nnrp1.ozemail.com.au...[color=blue]
> I want to be able to set the font size and font type for text in a text[/color]
box[color=blue]
> on a report using VBA. I wan't to be able to control it from a setting in[/color]
a[color=blue]
> table. The problem is that I don't know the syntax for setting either[/color]
font[color=blue]
> type or font size for a text box on a report. Does anyone know? Help.
> Please!
>
> dixie
>
>[/color]