Hi Tomas,
"Word" and "Sentence" are *fuzzy* concepts of *fuzzy*
natural language, therefore almost impossible to use
in not fuzzy programming.
However, to get you started,
play with this one:
Sub Test()
Dim lngSnt As Long ' counting sentences
Dim rngSnt As Range ' range of a sentence
Dim rngWrd As Range ' range of a word
Dim rngTmp As Range ' a temporary range
Set rngTmp = selection.Range
For Each rngSnt In ActiveDocument.Sentences
lngSnt = lngSnt + 1
rngSnt.Select ' for testing
For Each rngWrd In rngSnt.Words
If rngWrd = "test" Then
rngTmp.start = rngSnt.start
rngTmp.End = rngWrd.End
MsgBox lngSnt & ": " & rngTmp.Words.Count
End If
Next
Next
End Sub
HTH

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Tomas - 03 Jan 2007 17:05 GMT
Helmut,
Thanks for your rapid response! Your code helped me.
Best regards from a rainy Irland,
Tomas
> Hi Tomas,
>
[quoted text clipped - 33 lines]
> Win XP, Office 2003
> "red.sys" & Chr$(64) & "t-online.de"
Doug Robbins - Word MVP - 03 Jan 2007 17:46 GMT
I assume that is *fuzzy* for Ireland.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Helmut,
>
[quoted text clipped - 41 lines]
>> Win XP, Office 2003
>> "red.sys" & Chr$(64) & "t-online.de"