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

c# - Sort XmlNodeList with a specific Node value -

Android Java.Lang.RuntimeException : Unable to start activity Component Info -

php - htaccess subdomain and directory redirect -