Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to replace Comment TEXT
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Miscellaneous
Thread ID:
01330700
Message ID:
01332748
Views:
11
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform