I'm trying to use the SUBSTITUTE excel worksheet function in VBA. I have a cell (C5) that displays text. Whenever the user types in a string that contains double quotations, I want excel to substitute the double quotes for single quotes. I put the following formula in cell C5 and it returned a circular reference error. =SUBTITUTE(C5,"""","'")
Does anyone know how to achieve this task?