HAlignment Property Example

This example centers the values in the range A1:F1.

Spreadsheet1.Range("a1:f1").HAlignment = c.ssHAlignCenter