delete lines if they contain particular words

R

Rajesh Nathani

I have a form that I fill out. It has some lines that can read as follows:
'the pain usually occurs after none' Now that none is part of a drop down
list and I would like to either modify the line to either read 'the pain is
not related to blah, blah, blah' or delete the line completely.
 
A

Anand.V.V.N

Hi,

Find the word using find.execute method, and once you found it , select the
text, I am not sure abotu the command and then either clear it or repalce the
text with a space.

Anand
 
A

Anand.V.V.N

Where your sentense in the document or in the form.

if it in the form, you can use string functions to get your thing done,
otehrwise you can write teh code in teh click even of the button.

Hope this is more clear.

Anand
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top