Hi,
my code below does not work, and I get an error message on the line Range("AA & NxRow").Select.
Can anyone help me?
The Cell(AA & NxRow) contains a formula, and I want the macro to copy and past the value on the same cell.
Andy-s
my code below does not work, and I get an error message on the line Range("AA & NxRow").Select.
Can anyone help me?
The Cell(AA & NxRow) contains a formula, and I want the macro to copy and past the value on the same cell.
Code:
Sub Copy()
NxRow = Sheets("Database").Range("Y6") + 8
Range("AA & NxRow").Select
Selection.Copy
Range("AA & NxRow").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Andy-s