Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search/Replace Textboxes in Word Doc
Message
 
À
26/11/2003 11:13:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00853730
Message ID:
00853740
Vues:
18
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 ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform