word find/replace using com objects

jeff_farrow

New Member
I have some code to run down quite a few word documents doing a find/replace of certain text but I am having trouble changing the text in a 'text box'. Does anyone know how to get round this?
Jeff
 

lord_icon

Member
???

It does not matter where the src is. You are just simply refferencing the attribute. Just serially read through the document analysing the text. Once you have the string you wish to change then you can simply alter that attribute.
 

BONO

Member
Hello,
To do that u juste have to use input instruction to read the file and replace the data u've to replace . I think u use specific notation to recognize the text u've to replace like
Code:
. To make complex document from progress with word for example u can also use rtf format and merge different document.( like one documennt for line  and one for then header and anothere for the footer).

Hope it's help
 
Top