Hi i'm new to macros and i need to create one where it copy range of rows if the first two rows meet criteria until the last row changes value.
For example
Copy rows if :
1st row = "h"
2nd row = "L"
3rd row= "D"
Copy rows until 3rd row changes back to "H"
Do not copy if after row "h" and "l" is not followed by an "D" row
For example
Copy rows if :
1st row = "h"
2nd row = "L"
3rd row= "D"
Copy rows until 3rd row changes back to "H"
H |
L |
D |
D |
D |
D |
Do not copy if after row "h" and "l" is not followed by an "D" row
H |
L |
H |
L |
H |
L |