I have a text box on my form that is automatically filled in with comments based on calculations done in the form. I have several controls that calculate values and place comments into the same text box one after another.
If the user inputs the values incorrectly this may result in the wrong comments being placed in the text box. Once they re-enter the values correctly, I would like to write an IF statement that looks at the comments text box and clears it based on what is in the box.
Is there a way to delete only certain text out of a text box? i.e. write an IF statement that checks if a text box contains a specific sentence within several sentences then deletes that specific sentence.
Any help would be greatly appreciated.
If the user inputs the values incorrectly this may result in the wrong comments being placed in the text box. Once they re-enter the values correctly, I would like to write an IF statement that looks at the comments text box and clears it based on what is in the box.
Is there a way to delete only certain text out of a text box? i.e. write an IF statement that checks if a text box contains a specific sentence within several sentences then deletes that specific sentence.
Any help would be greatly appreciated.