I have a list of Customer Numbers in Column H, going down. The list always Starts in Cell H2 but can end at any point ... H11, H23, H30 etc. I need a macro that:
But if our customer list went from cell H2 to H15, it would need to highlight that range, copy it, paste it into C2, then select C16 and paste again. Etc.
I can sort of fathom out a way of doing it, through selecting the data to the end, performing some sort of count at this point, then pasting, moving down by the count value and pasting over and over in a for loop.
But the code eludes my simple mind.
Any help much appreciated
- highlights this range of Cells (however many there may be)
- copies this selection
- Pastes this selection 53 times starting cell C2
But if our customer list went from cell H2 to H15, it would need to highlight that range, copy it, paste it into C2, then select C16 and paste again. Etc.
I can sort of fathom out a way of doing it, through selecting the data to the end, performing some sort of count at this point, then pasting, moving down by the count value and pasting over and over in a for loop.
But the code eludes my simple mind.
Any help much appreciated
Last edited: