You don't really want to "fill" the blank space with the number, as that would make each entire paragraph into one word, and it would no longer show the automatic line breaks properly. Instead, you need to add a number after each space. Also, in order to
number the first word of each paragraph you need to add a number at the start of the document and after each paragraph mark. This macro will take care of that.
Sub NumberWords()
Dim rg As Range
ActiveWindow.View.ShowFieldCodes = False
' place a SEQ field at the start of the document
Set rg = ActiveDocument.Range
rg.Collapse wdCollapseStart
ActiveDocument.Fields.Add Range:=rg, Type:=wdFieldSequence, _
Text:="wd", PreserveFormatting:=False
' find each "white space" (incl. multiple spaces, tabs, nonbreak spaces)
' and insert the field after it
Set rg = ActiveDocument.Range
With rg.Find
.Text = "^w"
.Wrap = wdFindStop
While .Execute
rg.Collapse wdCollapseEnd
ActiveDocument.Fields.Add Range:=rg, Type:=wdFieldSequence, _
Text:="wd", PreserveFormatting:=False
rg.Collapse wdCollapseEnd
Wend
End With
' find each paragraph mark and insert the field after it
' unless it's the last one in the document
Set rg = ActiveDocument.Range
With rg.Find
.Text = "^p"
.Wrap = wdFindStop
Do
.Execute
rg.Collapse wdCollapseEnd
If rg.End = ActiveDocument.Range.End - 1 Then Exit Do
ActiveDocument.Fields.Add Range:=rg, Type:=wdFieldSequence, _
Text:="wd", PreserveFormatting:=False
rg.Collapse wdCollapseEnd
Loop
End With
' update all fields
ActiveDocument.Fields.Update
End Sub