Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to replace Comment TEXT
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Divers
Thread ID:
01330700
Message ID:
01332748
Vues:
12
>Yuri, lets say a want to delete any text in the comment. Is this suppose to work ?
>
>
>for each oComment in oWord.Activedocument.comments
>  oComment.Range.Select()
>  oComment.Range.Delete()
>endfor
>
I believe, it would be good if you try it yourself.
Other than that, what do you mean, "any text in the comment"? You may insert into comments objects like tables or textboxes, etc having text. Then you need to work with them separately depending on the object structure.

But the main question is, if there is no text, why do you need the comment?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform