excel vba - Macro to merge cells from two columns -
i create macro merges cells in column cell in column b if there data in column a. please help
do need this? assumed columns , b filled , concatenated values cells , b in cell a.
sub concatenate() dim row integer range("a1").select row = 0 until activecell.offset(row, 0).value = "" activecell.offset(row, 0).value = activecell.offset(row, 0).value + activecell.offset(row, 1).value row = row + 1 loop end sub
Comments
Post a Comment