View Single Post
 
Old 06-30-2015, 02:08 AM
brice brice is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Jun 2015
Posts: 3
brice is on a distinguished road
Default

Thank you very much for your answer. I tested and it seems to work like a charm. But I have still two small questions :

First, I have big difficulties understanding your code. In particular, why do you make the unlink, previous and collapse stuff ?

Second, imagine that now, I want to programmatically find the paragraph whose number is 1.2.3.4. By adapting your code, I can iterate through all paragraphs of document, extract the paragraph number with your code, and check if it matches. But is there a more efficient way to do this ?

Thanks in advance.

Regards,

Brice
Reply With Quote