ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   PLEASE HELP (https://www.excelbanter.com/excel-discussion-misc-queries/177798-please-help.html)

jase

PLEASE HELP
 
I am trying create a macro to copy data from a
certain cell or range of cells and then paste into another cell, however if
that cell I am pasting into has data in it I want it to go down 3 cells and
paste it, and so on and so on. I would imagine using the loop function would
work for me but I can't seem to figure it out.

This is what I have but it is just recopying into the same range every time.

Sheets("REAL Move").Range("N23:W36").Copy Destination:=Sheets("REAL
Move").Range("N38").End(xlUp).Offset(16, 0)

Dave Peterson

PLEASE HELP
 
Check your other post.

Jase wrote:

I am trying create a macro to copy data from a
certain cell or range of cells and then paste into another cell, however if
that cell I am pasting into has data in it I want it to go down 3 cells and
paste it, and so on and so on. I would imagine using the loop function would
work for me but I can't seem to figure it out.

This is what I have but it is just recopying into the same range every time.

Sheets("REAL Move").Range("N23:W36").Copy Destination:=Sheets("REAL
Move").Range("N38").End(xlUp).Offset(16, 0)


--

Dave Peterson


All times are GMT +1. The time now is 10:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com