The following article explains the different alignmentformattings applicable to cells and ranges and provides reference for more detailed explanation. When right click on a cell and select Format Cells … a dialog will open:
The dialog has an alignment tab:
The alignment tab displays all the possible alignment formattings applicable to cells and ranges. All these formatting options can be automated using VBA.