I have something like an address book in excell spreadsheet. It has col's A through F. In beween every different business type(which is column B) I have five blank lines. I want to write a macro that will sort this sheet by business but retain the blank lines. For example:
A B C D E F
Justin Doggys 45 5676 2 2
Sam Doggys 4 45 5 4
Sarah Carmich 78 pins 3 3
Simon Business 12 jars 1 1
John Business 2 cans 2 2
Should look like after the sort:
A B C D E F
Simon Business 12 jars 1 1
John Business 2 cans 2 2
Sarah Carmich 78 pins 3 3
Justin Doggys 45 5676 2 2
Sam Doggys 4 45 5 4
Can anybody help me?
A B C D E F
Justin Doggys 45 5676 2 2
Sam Doggys 4 45 5 4
Sarah Carmich 78 pins 3 3
Simon Business 12 jars 1 1
John Business 2 cans 2 2
Should look like after the sort:
A B C D E F
Simon Business 12 jars 1 1
John Business 2 cans 2 2
Sarah Carmich 78 pins 3 3
Justin Doggys 45 5676 2 2
Sam Doggys 4 45 5 4
Can anybody help me?