I am a VB illiterate and need to create a macro in Excel 2000 that will do the following:
1) Find the value 234 in column B.
2) Insert 1 row below that row.
3) Copy the value from column A from the row above the
new row.
4) Insert the value 234A in column B.
5) Copy the values from columns C D E F G from the row above
and add 5 to each of those values.
6) Copy the formulas from columns H I J K L from the row
above.
7) Repeat steps 1 to 6 to the last row (first empty row)
See before & after example below:
Before:
101 232 21.50 35.75 54.00 75.50 93.50 36 79 96 90 94
101 233 21.50 37.75 59.50 81.00 91.50 36 83 99 96 98
101 234 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
101 235 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
After:
101 232 21.50 35.75 54.00 75.50 93.50 36 79 96 90 94
101 233 21.50 37.75 59.50 81.00 91.50 36 83 99 96 98
101 234 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
101 234A 15.75 21.25 25.50 35.25 50.25 18 32 43 48 54
101 235 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
1) Find the value 234 in column B.
2) Insert 1 row below that row.
3) Copy the value from column A from the row above the
new row.
4) Insert the value 234A in column B.
5) Copy the values from columns C D E F G from the row above
and add 5 to each of those values.
6) Copy the formulas from columns H I J K L from the row
above.
7) Repeat steps 1 to 6 to the last row (first empty row)
See before & after example below:
Before:
101 232 21.50 35.75 54.00 75.50 93.50 36 79 96 90 94
101 233 21.50 37.75 59.50 81.00 91.50 36 83 99 96 98
101 234 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
101 235 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
After:
101 232 21.50 35.75 54.00 75.50 93.50 36 79 96 90 94
101 233 21.50 37.75 59.50 81.00 91.50 36 83 99 96 98
101 234 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49
101 234A 15.75 21.25 25.50 35.25 50.25 18 32 43 48 54
101 235 10.75 16.25 20.50 30.25 45.25 13 27 38 40 49