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

Popular posts from this blog

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -