Group: microsoft.public.word.vba.general
From: =?Utf-8?B?ZmlsbzY2Ng==?=
Date: Wednesday, February 13, 2008 7:28 AM
Subject: get thew word number

Hi, I want to accomplish 2 thinks:

1) something like wordpossition=Activedocument.selection.words.possition
(and the possition of the word in the document is obtained)
of course the command is incorrect.

2) an if structure:

If the selected word is "-" and one word or character before the selected
word is a letter or a number (just letter or number, not "/" or "." or
anything) and one character after the selected word is " " then
..........................
end if

Thanks for your help