Hi! ,
I would like to know how to change the format of Excel to center the text. I execute the following code, but the last part of the code doesnt work.
Could someone help me?
Code:
-------------------------------------------------------------------------------------------
Dim WB As Object
WB = GetWorkbook (Handle, Workbook). Application. Selection
With WB. Font
. Name = "Calibri "
. Size = 11
End With
Wb. HorizontalAlignment. Center
-------------------------------------------------------------------------------------------
Thanks so much.