Okay, I don't do much in the way of VBA stuff, so please forgive me if I sound like an idiot (well, more than I normally do).
So I've got this word doc that I am using as a template for program documentation. I also have an xml file that describes each screen. What I would like to do is take the contents of that xml file and match it to different parts of the document. For example..there is a textbox on the first page that is for the title. So I have a <title> tag in the xml and I would like to put its contents into that textbox.
So is there a way for me to tag that textbox as "title", so as I am going through the object model I could do something like...
Is this possible?Code:document.Fields("title").Select Selection.TypeText Text:="Some Title"
![]()




).
Reply With Quote