Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a column of labels containing spaces, hyphens, parentheses, etc., that
Excel automatically converts to underscores when I use the labels as range names. I am using a string of SUBSTITUTE commands ina a macro to build an array formula that coverts the labels to range names. The macro functions as intended, except the resulting range name is always in quotes (e.g., "Test_Number"). The array formula then returns #VALUE!, because it does not recognize the range. How can I remove the quotes? The macro line is shown below: Worksheets("Material").Range("AB4").FormulaArray = "=Sum(Substitute(Substitute(Substitute(Substitute( Substitute(Substitute(Substitute(R4C1,"" "",""_""),""("",""_""),"")"",""_""),""/"",""_""),""&"",""_""),"","",""_""),""-"",""_"") * Unit_Cost)" Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
in excel, how do i remove quotes from column of 700 names | Excel Discussion (Misc queries) | |||
Using range names or ranges between quotes | Excel Programming | |||
removing single quotes from a paste operation | Excel Programming | |||
Removing range names. | Excel Discussion (Misc queries) | |||
Removing Range Names | Excel Programming |