I have a word macro that formats a list of numbers. Essentially, it takes a column of numbers and formats them like: 4596845, 4555454, 8975545, ...
I need the macro to loop until the end of the column of numbers. However, right now it won't stop looping. I am new to this so please be patient.
This is the code I have now:
Sub ReFormat()
'
' ReFormat Macro
' Macro recorded 2/23/2006'
Do
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.TypeText Text:=", "
Selection.MoveRight Unit:=wdCharacter, Count:=8
Loop
End Sub
How do I make it detect the end of the number list??
Thank you!