Share via

Can one Left Align data label text

Anonymous
2012-11-09T15:54:32+00:00

Hi Folks,

In a multi line data lable the text is centered, is there any reasonableway to left align it?

I realize one can type the data label text manually following it with characters which you then turn white, for example

You can enter some dummy characters as below and then you can highlight the dummy characters and set their font to whie.  I don't consider this reasonable.

Sept 2001 YTD <br><br>Brazil -------------- <br><br>34.56 -------------- <br><br>5% ------------------
Sept 2001 YTD <br><br>Brazil <br><br>34.56 <br><br>5%

TIA,

Shane

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2012-11-09T21:26:19+00:00

As far as I can tell, it's not possible to set the alignment in the interface.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2012-11-09T19:23:42+00:00

If you mean the data labels of a chart series: set its HorizontalAlignment property to xlLeft:

ActiveChart.SeriesCollection(1).DataLabels.HorizontalAlignment = xlLeft

If you mean the tickmark labels of the category axis, I don't see an elegant way to force left aligned text: the Alignment property of the TickLabels object determines where the label is displayed within the category; it doesn't afffect the text alignment.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2012-11-09T21:14:28+00:00

    Hi,

    I can program it, but can it be set manually in 2010. 

    TIA,

    Shane

    Was this answer helpful?

    0 comments No comments