Hi
I'm trying to have a macro copy a cell to another cell in the same worksheet without leaving that cell
Example:
HTML Code:Private Sub Worksheet_activate() Range("A5").Select ActiveWindow.FreezePanes = True x = Range("A" & Rows.Count).End(xlUp).Row ' copy this cell to P7 Range("A" & x + 1).Select End Sub