excel - Move set of cells with some blanks so that set is right aligned -
in excel, have big document lot of data , looking best way move cells.
i have columns a
, b
, c
, , d
, , want move them c
, d
, e
, , f
. problem left-aligned, there nothing in d
cell puts values should in d
in c
cell. best way resolve this?
there link picture how mean it:
give try:
sub dural() dim n long, l long n = cells(rows.count, "a").end(xlup).row l = 1 n while cells(l, "f") = "" cells(l, 1).insert (xlshifttoright) wend next l end sub
Comments
Post a Comment