Hi,
I need to create a VB macro that inserts cells in a column until the value of the column cell matches the value of another cell and I don't know where to start.
A B
1 1
2 2
3 4
4 5
5
In the example the macro should read the value of column B and check if it's the same as column A. If they match the macro should read the next value in column B. When the macro reaches 4 in column b the macro shoud add a cell and shitft the cells down until the value of column b 4 matches the value in column a.
Any help appreciated
Roser72
I need to create a VB macro that inserts cells in a column until the value of the column cell matches the value of another cell and I don't know where to start.
A B
1 1
2 2
3 4
4 5
5
In the example the macro should read the value of column B and check if it's the same as column A. If they match the macro should read the next value in column B. When the macro reaches 4 in column b the macro shoud add a cell and shitft the cells down until the value of column b 4 matches the value in column a.
Any help appreciated
Roser72