Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write the appropriate code to enter a formula along the
following lines into a particular cell in a worksheet. =IF(Range1= "",Range2, Range1) I've been advised that I should use coded version of the quotes incorporating Chr (34) - something like: strQuote = Chr(34) ActiveCell.Formula = "=IF(Range1= "& Chr(34) &" ,Range2,Range1)" but I can't seem to get the syntax quite right. Any help would be appreciated. -- TIA Ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Entering an "IF" formula | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Format cell to display "Y" or "N"when entering a 1 or zero | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |