client coordinates in word application given screen coordinates

J

Jayashri Yadav

Can anyone tell me how I can get the client coordinates in a word application for given screen coordinates using VB programming

Jayashri
 
L

Lars-Eric Gisslén

Jayashri,

From VBA you could try to use the Win API functions GetActiveWindow() and
ScreenToClient()

--
Regards,
Lars-Eric Gisslén

Jayashri Yadav said:
Can anyone tell me how I can get the client coordinates in a word
application for given screen coordinates using VB programming.
 
Top