How do I put one heading over 3 narrow columns?

J

Janice

I am trying to make an excel sheet that has the year "2006" over 3 narrow
columns that just have an "X" in or they are blank. I cannot figure out how
to put the 2006 so that it shows especially when I print sheet.
 
D

Dave Peterson

Select your 3 cells (say A1:C1)
format|cells|Alignment tab|Horizontal dropdown|Center Across Selection

And type your value in A1 (the leftmost cell) with nothing in the other two
cells.
 
D

Don Guillett

Put this in your personal.xls macro workbook and assign a custom toolbar
button to it. Then select your area to center across and click on the custom
button.

Sub CENTERACROSS()
With Selection
If .HorizontalAlignment = xlCenterAcrossSelection Then
.HorizontalAlignment = xlGeneral
Else
Selection.HorizontalAlignment = xlCenterAcrossSelection
End If
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top