Data Manipulation in VB
Posted by Mark on September 10, 2001 12:38 PM
can anybody suggest where do I start with the following VBA stuff:
if values in ABC row 1 = values in ABC row 2 = values in ABC row 3 (see FIGURE 1) then write values ABCD of the first row to a new workbook with the E (5+5+5) and F (6+6+6) to appear as a sum of the 3 rows.
The first copied row should look as follows:
A B C D E F
1 1 2 3 4 15 18
...second row copied would read:
A B C D E F
2 2 3 4 5 6 7
If values are not equal then copy the entire rows into the new sheet.
A B C D E F
1 1 2 3 4 5 6
2 1 2 3 4 5 6
3 1 2 3 4 5 6
4 2 3 4 5 6 7
5 3 4 5 6 7 8
FIGURE 1
any help would be appreciated very much...
Regards
M.