Click to See Complete Forum and Search --> : right align


vbnov
February 14th, 2006, 01:20 PM
how do i right align excel cell values using vbscript

Satishpp
February 14th, 2006, 01:44 PM
This will right align the selection.

Sub Macro2()
Selection.HorizontalAlignment = xlRight
End Sub

vbnov
February 14th, 2006, 04:00 PM
Thanks, satish works fine