Hi All,
I have data in columns A to K and row 1 has headings. Column C is Payment Date. I have varying numbers of rows each day.
My code so far sorts by column K and then it finds the first instance of text "ZAD -" in column K. It then inserts a row above the first instance of "ZAD -".
It then highlights all data in columns A to K up from this newly inserted row. (so if row 15 is now the blank inserted row, the code will highlight cells K14 to A1)
It then sorts by column C Payment Date. I need to insert a blank row each time the payment date increases in column C of the highlighted cells only.
I have code that inserts a row each time the payment datechanges in column C for the whole document but I need to restrict this commandto just the highlighted data. Remembering that the amount of rows in thehighlighted data will not always be the same.
Anyone know how to do this please?
Thank You
I have data in columns A to K and row 1 has headings. Column C is Payment Date. I have varying numbers of rows each day.
My code so far sorts by column K and then it finds the first instance of text "ZAD -" in column K. It then inserts a row above the first instance of "ZAD -".
It then highlights all data in columns A to K up from this newly inserted row. (so if row 15 is now the blank inserted row, the code will highlight cells K14 to A1)
It then sorts by column C Payment Date. I need to insert a blank row each time the payment date increases in column C of the highlighted cells only.
I have code that inserts a row each time the payment datechanges in column C for the whole document but I need to restrict this commandto just the highlighted data. Remembering that the amount of rows in thehighlighted data will not always be the same.
Anyone know how to do this please?
Thank You