View Single Post
 
Old 03-26-2012, 08:23 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try changing:
Code:
With ActiveDocument.Range
  'Process each word from the Player List
  For i = 1 To UBound(Split(xlFRList, "|"))
to:
Code:
'Process each word from the Player List
For i = 1 To UBound(Split(xlFRList, "|"))
  With ActiveDocument.Range
and:
Code:
  Next
End With
to:
Code:
  End With
Next
As you can see, this is just a simple matter of moving two lines and changing the indenting. The indenting is of no consequence though, to the code's execution.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote