thank you very much! It seems to works really good.
I have a last question about CNiWordTable : In my application, I created a CNiWordTable with function 'addTable' of a CNiWordDocument. Before filling this tab, I resize it. In a debug version all works correctly but in a release version, there is an error message at the step of resizing : capacity overflow. How to avoid it?