Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use a logical if statement checking a text word in a formula
statement. I want programmatically to create the cell =IF(A1="apples","Yes","No") However, when I enter Range("B1").Formula="=IF(A1="apples","Yes","No")" in VB the quotes mess this all up. The single quotes don't work either Range("B1").Formula="=IF(A1='apples','Yes','No')" Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to refer to the .text property without text box name? | Excel Programming | |||
FormulaR1C1 v Formula | Excel Programming | |||
Excel VBA: Worksheet cell .Text property: 1024 bytes text len limit | Excel Programming | |||
Need help with FORMULAR1C1 property | Excel Programming | |||
Value Property vs Text property | Excel Programming |