Equation object makes replace function not work
Please help, I am batlling for 2 days now with this problem:
I want to replace a text string, say "*" with "#" in a selected text portion in a RichTextBox.
When I use this code:
X = Replace(RichTextBox1.SelRTF, "*", "#")
RichTextBox1.SelRTF = X
it works fine, but when the selected text contains any maths equation object, it does not work properly. (There is always "###" in front of the equation)
pass the spice weasel please...
Errrrrr...I think you have some major problems with your equation :D
Sqr. Root of x, or x^(1/2) as it's more commonly known, ALWAYS has 2 answers.
1^(1/2) or the Sqr Root of one has 2 answers. 1 and -1, which as you can see arn't always positive :D
Adios,
me