Thread
:
Using Text in a Formula or FormulaR1C1 property
View Single Post
#
4
Posted to microsoft.public.excel.programming
Jacob Skaria
external usenet poster
Posts: 8,520
Using Text in a Formula or FormulaR1C1 property
Dim strTemp
Dim strValue
strValue = "Apple"
strTemp = "=IF(A1=""" & strValue & """,""yes"",""no"")"
Range("B1").Formula = strTemp
If this post helps click Yes
--------------
Jacob Skaria
Reply With Quote
Jacob Skaria
View Public Profile
Find all posts by Jacob Skaria