Hello everyone,
I'm writing a big macro to automate manual workings of a excel sheet that would normally take a good day.
I'm having trouble figuring this one out - a column named 'account numbers' (Q) should have account numbers in them, which is a ten digit number, beginning with 7 (7 xxx xxx xxx).
Sometimes it has other information in it, which doesn't match to this rule. In that case, the contents of the field needs to be replaced with 71 000 000 01. In the next row where the contents doesn't match up, it needs to be replaced with 71 000 000 02, and so on.
This needs to occur until the entire populated column (Q) has been checked and replaced where required - so it stops when it detects and empty field.
Can anyone point me to the right direction to do this?
Thanks,
Daniel
Bookmarks