Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search/Replace Textboxes in Word Doc
Message
 
To
26/11/2003 11:13:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00853730
Message ID:
00853740
Views:
19
You should analyse each header in each document section, like"
with oWord.Activedocument.Sections(1).Headers(1)
  if .shapes.count>0
      for ia=1 to .shapes.count
          if .shapes(ia).Type=msoTextBox          &&=17
               .....
>I wish to write VFP8 code using automation to search and replace text within a textbox when the textbox is found within a header or footer in a Word document.
>
>I have been able to accomplish this when the textbox is in the body but not when it is within a header or footer.
>
>I have also been able to search and replace text within a header or footer as long as the text is not in a textbox.
>
>Any ideas on this ?
Previous
Reply
Map
View

Click here to load this message in the networking platform