<p>Basically I want to know how to set center alignment for a cell using VBScript...</p>

<p>I've been googling it and can't seem to find anything that helps.</p>

There are many ways to select a cell or a range of cells, but the following will work for a single cell.
```
```
'Select a Cell Range
Range("D4").Select

'Set the horizontal and vertical alignment
With Selection
    .HorizontalAlignment = xlCenter
    .VerticalAlignment = xlBottom
End With
```
```
The HorizontalAlignment options are xlLeft, xlRight, and xlCenter