View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Doug Broad Doug Broad is offline
external usenet poster
 
Posts: 3
Default quotes in formulas using vba

I want to enter the following formula into cell a5

=SUBSTITUTE(F3," ","")

I tried this:

range("a5").value= "=substitute(f3,""" ""","""""")"

I get an error when I try to do this
Expected end of statement

I get lost in the quotes. What is the process of translation?

Thanks