The Rev
Registered User.
- Local time
- Today, 17:36
- Joined
- Jan 15, 2003
- Messages
- 118
I need to find a string in a textbox on a PowerPoint slide I am filling from my database. I need to replace the entire string <with quotes> with the word Observation:
"Other than Satisfied" requirements
I have
xh = objShape.TextFrame.TextRange.Find("Other Than Satisfied")
If xh = ("Other Than Satisfied") Then
objShape.TextFrame.TextRange.Text = "Observations"
End If
The problem as it sits is that I have another text box on the slide that may or may not contain the words Other than Satisfied in the string. Never with quotes around them though. So I want to only search for "Other than Satisfied" but not Other than Satisfied. How can I fix my code to do that?
"Other than Satisfied" requirements
I have
xh = objShape.TextFrame.TextRange.Find("Other Than Satisfied")
If xh = ("Other Than Satisfied") Then
objShape.TextFrame.TextRange.Text = "Observations"
End If
The problem as it sits is that I have another text box on the slide that may or may not contain the words Other than Satisfied in the string. Never with quotes around them though. So I want to only search for "Other than Satisfied" but not Other than Satisfied. How can I fix my code to do that?