Set wrd = CreateObject("Word.Application")
wrd.Visible = True
wrd.Documents.Open "C:\ECORIGEN\Report_Totsucat.doc"
wrd.ActiveDocument.client = "TONTON"
This textbox "client" is in the header of my document, so in each page their is the same form control with the same name. With this syntax it worked and the control in each header of each page had the same value (that I want).
But I have created sections in the document to be able to copy the content of a page and to paste it at the good place.
And since I created sections I can't set the value of the textbox with the syntax above...
It tell me that the property or the method is not managed by this object....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.