Hi to all of you! Due to the mix of invoices' numbers and orders' numbers, I would like to alter my data between these two columns “AN” and “AO” so that to align the numbers on its right columns using a vba code. Therefore, that invoice numbers are bigger numbers than orders numbers and I think is the key to move each other. I present below an extract of original data and expected result. Note that the rows arise to 100000+ and between them some cells are blank or contains text. However the align should be just for numbers. Thank you all in advance
Original data
Expected result
Original data
Expected result