Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Entering Array Formula
Hi
I am trying to enter the following an array formula in VBA: Rng.FormulaArray = "=sum((One = A1)*(Two = "Hello")) One and Two are named ranges. The problem is the quotation mark around the word "Hello". VBA does not like it. How can I make VBA to like it. One way would be to name the word and use the name. But it is just bugging me that I can not enter it directly. Thanks for your suggestions. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Entering Array Formula
Hi
Quotes in strings are written as double quotes: "=sum((One = A1)*(Two = ""Hello""))" HTH. Best wishes Harald skrev i melding ... Hi I am trying to enter the following an array formula in VBA: Rng.FormulaArray = "=sum((One = A1)*(Two = "Hello")) One and Two are named ranges. The problem is the quotation mark around the word "Hello". VBA does not like it. How can I make VBA to like it. One way would be to name the word and use the name. But it is just bugging me that I can not enter it directly. Thanks for your suggestions. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Entering an array formula | Excel Worksheet Functions | |||
entering formula in a numeric array | Excel Discussion (Misc queries) | |||
entering as an array | Excel Discussion (Misc queries) | |||
Entering Array Functions | Excel Discussion (Misc queries) | |||
Programatically Entering an Array Formula | Excel Programming |