Hi to all and thanks in advance for the help...
I am trying to create a macro which will do the following in my sheet: I want to sort (each time with a column of my choice), each one of the small data sets, which are located between empty lines of a large data set.
For example:
I want to sort by column E (smallest to larger) the entire Data Set from A2:I16, but I want sorting to be made individually for each one of the following data sets (A3:I6, A8:I11, A14:I17) and by keeping exactly where they are the blank rows (in this example 2, 7, 12, 18) as well.
As you can see in the second picture, the data set has been set in alphabetical order in each one of the -between the blank rows- data sets.
Any code (not necessarily exclusively based on this example, because I have different datasets in different sheets) would be helpful
Thanks again
I am trying to create a macro which will do the following in my sheet: I want to sort (each time with a column of my choice), each one of the small data sets, which are located between empty lines of a large data set.
For example:
I want to sort by column E (smallest to larger) the entire Data Set from A2:I16, but I want sorting to be made individually for each one of the following data sets (A3:I6, A8:I11, A14:I17) and by keeping exactly where they are the blank rows (in this example 2, 7, 12, 18) as well.
As you can see in the second picture, the data set has been set in alphabetical order in each one of the -between the blank rows- data sets.
Any code (not necessarily exclusively based on this example, because I have different datasets in different sheets) would be helpful
Thanks again