I get a compiler error using this code. How can I write this because I need to insert this code this way.
Thanks
:rolleyes:Code:NewSholder = Replace(sholder, ">i.", "color="#808080">i.")
Printable View
I get a compiler error using this code. How can I write this because I need to insert this code this way.
Thanks
:rolleyes:Code:NewSholder = Replace(sholder, ">i.", "color="#808080">i.")
try this one
NewSholder = Replace(sholder, ">i.", "color='#808080'>i.")
or this one
NewSholder = Replace(sholder, ">i.", "color=""#808080"">i.")
happy VBing!!
:o
firoz
Code:NewSholder = Replace(sholder, ">i.", "color=" & chr(34) & "#808080" & chr(34) & ">i.")
thanks guys I will try