rmccafferty
Board Regular
- Joined
- Jul 16, 2009
- Messages
- 60
I would like to copy a row in one tab (tab a) to the current cell in a different tab (tab b).
I have already run a macro that goes to tab b, goes to A200 (well below my data) and then does an End-Up arrow, and then down one row so the cursor is in column A of the highest empty row. I then assign that cell address to a variable c.
Back in Tab a I would like to use some variation of
ActiveCell.EntireRow.Copy Destination:=Range("??"). I would like to use my variable "c" to fill in the Range if possible. Would an entry like the following work?
ActiveCell.EntireRow.Copy Destination: Sheets("tab b").ActiveCell.EntireRow.Paste
I have already run a macro that goes to tab b, goes to A200 (well below my data) and then does an End-Up arrow, and then down one row so the cursor is in column A of the highest empty row. I then assign that cell address to a variable c.
Back in Tab a I would like to use some variation of
ActiveCell.EntireRow.Copy Destination:=Range("??"). I would like to use my variable "c" to fill in the Range if possible. Would an entry like the following work?
ActiveCell.EntireRow.Copy Destination: Sheets("tab b").ActiveCell.EntireRow.Paste