Hi,
I'm learning VBA, Please need some help w/ vba to copy in same sheet but different rows if value condition is meet.
explanation:
there are 3 zones, almost identical in size and rows (already have formulas on it)
Zone 1 (BQ3:BW13)
Condition : IF Cell BU3 have a value Min/Max 4~12, Then copy Range content of Row BQ3:BW3
to First Empty Range target Rows AG3:AM3
If no condition es meet, then skip Paste action.
Zone 2 (BY3:CE13)
Condition : IF Cell CC3 have a value Min/Max 4~12, Then Copy Range content of Row
BY3:CE3 to next available target Row e.i AG3:AM3 (If not available, then Copy to next Empty Row Range AG4:AM4)
If no condition es meet, then skip Paste action
Zone 3 (BY3:CE13)
Condition : IF Cell CK3 have a value Min/Max 4~12, Then Copy content of Row
CG3:CM3 to next available target Row AG4:AM4 (If not available, then Copy to next Empty Row Range AG5:AM5)
If no condition es meet, then skip Paste action
Then the same actions as indicated above for Zone 1,2,3 but start on Row 4
Then the same actions as indicated above for Zone 1,2,3 but start on Row 5
Then the same actions as indicated above for Zone 1,2,3 but start on Row 6
the same Loop Till reach Last Row 13.
Please find excel sample attached
Thank you !!
Best Regards
David
Bookmarks