G
Guy Hoffman
I am attempting to write this formula to a cell from VBA:
Worksheets("Summary").Range("H18").Formula = "=cell("contents",b53)"
But because the worksheet formula also uses double quotes as part of
its syntax, I am getting a compile error as VBA thinks the second
double quote (next to the word "cell" is the end of the statement.
I tried using a single quote but to no avail.
How do you fix this?
GH
Worksheets("Summary").Range("H18").Formula = "=cell("contents",b53)"
But because the worksheet formula also uses double quotes as part of
its syntax, I am getting a compile error as VBA thinks the second
double quote (next to the word "cell" is the end of the statement.
I tried using a single quote but to no avail.
How do you fix this?
GH