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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -