Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change font and style for text boxes?

Status
Not open for further replies.

VictoryHighway

Technical User
Mar 4, 2004
115
US
Hello,
Is there a way to change font and style for text boxes in reports via VBA in the _onformat event of the report? If so, how do I do it?

Thanks in advance for you help.

--Geoffrey
 
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
With Me.Address
.FontName = "Verdana"
.FontSize = "12"
.ForeColor = vbBlue
End With
End Sub
Didn't check on other sections ...It may work

Zameer Abdulla
Visit Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top