12mcarchedi
New Member
- Joined
- Jan 19, 2015
- Messages
- 8
I am trying to automate the process of copy and pasting data from on column to another using a macro. What I would like to do is as follows and any help would be appreciated. I am completely new to VBA and macros so an explanation on how it works would be great as I am looking to learn.
1) Find date in column L on sheet "Dividends" that is less than the date in cell A2 on sheet "Dates"
2)Once the first date is found, Copy the date cell in column L and the 3 cells to the right to the next open cell in column Q on sheet "Dividends"
3) Repeat this process for all cells in column L whose date is less than A2 on "Dates"
If this is not clear I can attach a sample file later, but would rather do that if it is needed.
Thanks for any help!
1) Find date in column L on sheet "Dividends" that is less than the date in cell A2 on sheet "Dates"
2)Once the first date is found, Copy the date cell in column L and the 3 cells to the right to the next open cell in column Q on sheet "Dividends"
3) Repeat this process for all cells in column L whose date is less than A2 on "Dates"
If this is not clear I can attach a sample file later, but would rather do that if it is needed.
Thanks for any help!