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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Left Aligning or Right alighning text on a report

Status
Not open for further replies.

neemi

Programmer
May 14, 2002
519
GB
Access 2000.

I have a report which I want to be able to use code to align the text to the right or to the left.

Does any one know how to code this with the report properties using vba.

Cheers in advance,

Neemi
 
Set the TextAlign property. 0 = default, 1 = left, 2 = centre, 3 = right.

As a general tip, whatever the property is called in the form/report design property window, use as the property in VBA but remove any spaces in the name. Hit F1 while positioned over the VBA property name to get help on it.
 
... I assume my response to your looping through controls question worked then?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top