P
Paula
Hello everyone,
How do I go about using double quotes within a string...I need to make the following line valid in VBA:
Me.Range("Total_Year_5").Formula =
"=IF(Period>4,IF(Growth_Rate>0,IF(Total_Year_1>0,(Total_Year_4*(1+Growth_Rate)),0),Total_Year_1),"N/A")"
The last part ("N/A") causes the VBA error in the IDE.
Thank you for any advice you can give me.
Paula Barrett
How do I go about using double quotes within a string...I need to make the following line valid in VBA:
Me.Range("Total_Year_5").Formula =
"=IF(Period>4,IF(Growth_Rate>0,IF(Total_Year_1>0,(Total_Year_4*(1+Growth_Rate)),0),Total_Year_1),"N/A")"
The last part ("N/A") causes the VBA error in the IDE.
Thank you for any advice you can give me.
Paula Barrett