How to customize text and number alignment different in Excel? -


i have table column has mix of text , number values. want customize format of these values such characters/text left-aligned , numbers right-aligned.

how this? since dataset on 10,000 values, can't manually.

i appreciate help, thanks.

consider:

sub qwerty()     set r1 = selection.cells.specialcells(xlcelltypeconstants, xlnumbers)     set r2 = selection.cells.specialcells(xlcelltypeconstants, xltextvalues)     r2.horizontalalignment = xlleft     r1.horizontalalignment = xlright end sub 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -