titushanke
New Member
- Joined
- Feb 13, 2009
- Messages
- 6
Hi,
I would like to copy rows of data from one worksheet to another (destination worksheet exists, would need to be cleared). The source worksheet contains a "Y" or "N" in column A.
FOR A4 to Q99, filter all rows that have value "Y" in column A of their respective row.
Go to the destination sheet, erase all data in the range A4:Q99.
Paste the filtered data from the source sheet.
Could anybody help me with this in VBA? I don't want to use the filter function as it's many work sheets and I would like to automate it..
Thanks, Titus
PS: Ideally the paste operation should be "paste values", due to existing formatting in the destination sheet.
I would like to copy rows of data from one worksheet to another (destination worksheet exists, would need to be cleared). The source worksheet contains a "Y" or "N" in column A.
FOR A4 to Q99, filter all rows that have value "Y" in column A of their respective row.
Go to the destination sheet, erase all data in the range A4:Q99.
Paste the filtered data from the source sheet.
Could anybody help me with this in VBA? I don't want to use the filter function as it's many work sheets and I would like to automate it..
Thanks, Titus
PS: Ideally the paste operation should be "paste values", due to existing formatting in the destination sheet.