Hi all,
Im hoping someone can assist me. Im looking to write a macro to insert rows into a set of data after each data group ends.
E.g. Coloum A contains the following data (1 per cell starting with A1, then A2 etc)
A1 = BB
A2 = BB
A3 = BB
A4 = CC
A5 = CC
A6 = CC
A7 = DD
A8 = DD
A9 = EE
I would like to run a macro which will insert rows after each similar data sets ends
The result would be the following
A1 = BB
A2 = BB
A3 = BB
A4 = (BLANK)
A5 = (BLANK)
A6 = CC
A7 = CC
A8 = CC
A9 = (BLANK)
A10 = (BLANK)
A11 =DD
A12 = DD
A13 = (BLANK)
A14 = (BLANK)
A15 = EE
A16 = EE
In the above example I have inserted 2 new lines between the data sets however having an easy method to change this would be great.
Hopefully my explanation was clear enough to show what I am trying to do.
Thanks in advance for your assistance
Mike
Bookmarks