hello guys,


I need to automatically add lines through a VBA code.
What I need is this:
If you have only one number, add the line "1" in front of number, if have 2 equal number, then add the lines "1" and "2".
Example:

500 1
501 1
501 2
501 3
502 1
503 1
503 2
504 1
505 1
505 2


Can you help me?

Thanks...