我的宏在我的宏中保持失败,我在这里填写特定列中的所有单元格,并使用公式引用它旁边的列。
我的宏中有另一个嵌套的IF公式,工作正常。他们也不依赖彼此。有任何想法吗?
ActiveCell.FormulaR1C1 = _
"=IF(ISNUMBER(SEARCH(""Nurture"",RC[-1])),""New Producer Nurture"",IF(ISNUMBER(SEARCH(""WB FU"",RC[-1])),""Event Follow Up"",IF(ISNUMBER(SEARCH(""WS FU"",RC[-1])),""Event Follow Up"",IF(ISNUMBER(SEARCH(""WS REM"",RC[-1])),""Event Promotion"",IF(ISNUMBER(SEARCH(""Marketing OB"",RC[-1])),""General Marketing"",IF(ISNUMBER(SEARCH(""Marketing Direct to Agent"",RC[-1])),""" & _
"Marketing"",IF(ISNUMBER(SEARCH(""Info Email Response"",RC[-1])),""General Marketing"",IF(ISNUMBER(SEARCH(""Marketing IB"",RC[-1])),""General Marketing"",IF(ISNUMBER(SEARCH(""ZProgramsMatch"",RC[-1])),""General Marketing"",IF(ISNUMBER(SEARCH(""Registration Support"",RC[-1])),""General Marketing"",IF(ISNUMBER(SEARCH(""Web Contact Form Outreach"",RC[-1])),""General Mar" & _
"IF(ISNUMBER(SEARCH(""General Product Inquiry"",RC[-1])),""General Marketing""))))))))))))"
答案 0 :(得分:0)
你应该这样试试....
import this