Copy text frm a cell n append it thru macro

Solved/Closed
abhi - Mar 9, 2012 at 01:06 AM
 abhi - Mar 9, 2012 at 01:50 AM
Hello,


I am trying to create a macro where I want to copy a cell content from one worksheet and append it to a cell in another worksheet of the same workbook. I am able to copy a cell to another worksheet but it's overwriting it but i want the text to get concatenated with the existing text in the the cell of another worksheet.

Any help please...

1 response

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Mar 9, 2012 at 01:30 AM
suppose the relevant cells are A1 in sheet1 and A1 in sheet 2

try this macro

Sub test()
Worksheets("SHEET2").Range("a1") = Worksheets("SHEET2").Range("A1") & " " & Worksheets("sheet1").Range("a1")


End Sub
0
it's working perfectly !!!
Thanks a lot :)
0