Excel执行宏的时候出错,说我语法错误,请问是哪错了。ActiveCell.FormulaR1C1 = _
"=IF(RC[-1]=""不锈钢"",""不锈钢"",IF(RC[-42]=""定襄"",""寄售"",IF(AND(RC[-42]=""太原"",RC[-29]=""X80M""),""前移"",IF(AND(RC[-42]=""济南"",LEN(RC[-18])>LEN(SUBSTITUTE(RC[-18],""前移"",""""))),""前移"",IF(AND(RC[-42]=""济南"",LEN(RC[-18])>LEN(SUBSTITUTE(RC[-18],""撮合"",""""))),""前移"",IF(AND(RC[-42]=""天津"",RC[-32]=""F""),""前移"",IF(RC[-30]=""硅钢"",""前移"",IF(RC[-39]=""6340"",""寄售"",IF(RC[-39]="""& _
""寄售"",IF(RC[-39]=""6360"",""寄售"",""前移""))))))))))"
æ£ç¡®çè¯å¥ï¼
ActiveCell.FormulaR1C1 = "=IF(RC[-1]=""ä¸éé¢"",""ä¸éé¢"",IF(RC[-42]=""å®è¥"",""å¯å®"",IF(AND(RC[-42]=""太å"",RC[-29]=""X80M""),""å移"",IF(AND(RC[-42]=""æµå"",LEN(RC[-18])>LEN(SUBSTITUTE(RC[-18],""å移"",""""))),""å移"",IF(AND(RC[-42]=""æµå"",LEN(RC[-18])>LEN(SUBSTITUTE(RC[-18],""æ®å"",""""))),""å移"",IF(AND(RC[-42]=""天津"",RC[-32]=""F""),""å移"",IF(RC[-30]=""ç¡ é¢"",""å移"",IF(RC[-39]=""6340"",""å¯å®"",IF(RC[-39]=""å¯å®"",IF(RC[-39]=""6360"",""å¯å®"",""å移""))))))))))"æéä¸CK1ï¼æ§è¡åç»æ为ï¼
=IF(CJ1="ä¸éé¢","ä¸éé¢",IF(AU1="å®è¥","å¯å®",IF(AND(AU1="太å",BH1="X80M"),"å移",IF(AND(AU1="æµå",LEN(BS1)>LEN(SUBSTITUTE(BS1,"å移",""))),"å移",IF(AND(AU1="æµå",LEN(BS1)>LEN(SUBSTITUTE(BS1,"æ®å",""))),"å移",IF(AND(AU1="天津",BE1="F"),"å移",IF(BG1="ç¡ é¢","å移",IF(AX1="6340","å¯å®",IF(AX1="å¯å®",IF(AX1="6360","å¯å®","å移"))))))))))
追é®è¯·é®æçè¯æ³æ¯åªéäºï¼