G
Guest
Excel 2000: I want to copy the contents of an active cell #1, select another cell #2 and paste into that cell while retaining the original text in cell #2.
It will not copy the text in the new cell #1 and add it to the text in the new cell #2. Whether I select "Relative Reference" when recording or not, the function only inserts the final text from the original cell #2 used to record the macro. The code always looks like the following, "Relative Reference" or not:
ActiveCell.Select
ActiveCell.FormulaR1C1 = "(beige)" [here I highlighted and copied the contents]
ActiveCell.Offset(-1, 0).Range("A1").Select
ActiveCell.FormulaR1C1 = _
"Omni lav with pigtails, stripped and tinned leads (beige)" [here was supposed to execute a paste to cell #2]
[the contents of the line above gets inserted every time the macro is run]
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.ClearContents
ActiveCell.Offset(3, 0).Range("A1").Select
End Sub
It will not copy the text in the new cell #1 and add it to the text in the new cell #2. Whether I select "Relative Reference" when recording or not, the function only inserts the final text from the original cell #2 used to record the macro. The code always looks like the following, "Relative Reference" or not:
ActiveCell.Select
ActiveCell.FormulaR1C1 = "(beige)" [here I highlighted and copied the contents]
ActiveCell.Offset(-1, 0).Range("A1").Select
ActiveCell.FormulaR1C1 = _
"Omni lav with pigtails, stripped and tinned leads (beige)" [here was supposed to execute a paste to cell #2]
[the contents of the line above gets inserted every time the macro is run]
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.ClearContents
ActiveCell.Offset(3, 0).Range("A1").Select
End Sub