View Single Post
  #1   Report Post  
Edi
 
Posts: n/a
Default Delayed Selection

Hi,

Im trying to catch a selection change event from interop.word object model
but it seems to have some strange delay when im getting into a table the
first time such that for:
selection.get_Information(Word.WdInformation.wdEnd OfRangeColumnNumber)

the first time im getting (-1) which means im not in the table at all
for d.click it works fine (returns the currect data)

any idea why is this strange delay happened?
I tried to use OnXmlChange but there is even worse...

thanks
Edi