How to find cursor position in word document

i have to find cursor position when i open the document file and either it could be empty or not
please any help could be appreciated

thanks
kaavya