Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i have about 50 labels that are each just barely big enough to fit the letter x in them. the labels are on a report. i need to align all the labels very precisely.

is there an easier way to do this than trusting my eyes?

share|improve this question

migrated from stackoverflow.com May 24 '10 at 22:21

This question came from our site for professional and enthusiast programmers.

    
doubleudoubleudoubleu.superuser.com –  rightfold May 23 '10 at 19:13
    
You keep asking variations on the same question over and over again, and not a single one of them is a programming question. –  David W. Fenton May 23 '10 at 21:32

3 Answers 3

up vote 3 down vote accepted

Yes

Go into design mode.
Right click on one of the labels that is where you want it, and choose properties.
Note the value of the Top parameter (if you're lining them up horizontally).
Now select them all at once.
When they are all selected put the original parameter value in the now blank Top field, and hit Enter.

Note that there is also a Left field for horizontal placement.

share|improve this answer

In design view, you can bump the controls that have the focus by one pixel by holding down the Ctrl key and using the arrows keys to move them in the desired direction. Each arrow keypress moves the selected controls by one pixel in the direction of the arrow.

Then, you can check their alignment by clicking and dragging over your design surface to create a rectangle. Use the line of the leading edge of the selection rectangle as a straightedge, and position it over the edge of the controls you are checking for alignment.

You can also use Align Top, Align Left, and so forth to align all of the selected controls along the top or left edge, etc.

share|improve this answer

Place the top control in the right location.

Select it and all the others.

A2003 and before:

From the format menu, choose ALIGN then LEFT.

A2007/A2010:

From the ribbon, choose ARRANGE then LEFT (under Control Alignment).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.