Can someone help me out here?

Why is it that even though I have defined a column to align to centre, the numerical values in the column correctly align but a column header (which is text) still aligns to left. Below is the code that I'm using.

VB Code:
  1. x=10
  2. MSHFlexgrd.ColAlignment(1) = flexAlignCenterCenter
  3. MSHFlexgrd.TextMatrix(0, 1) = "Column Header"
  4. MSHFlexgrd.TextMatrix(2, 1) = x