Hi, i'm VERY new to VBA.
I created a sub to "read" what is on a CELL and then return a value.
But i want to BREAK LINE this IF statements so it's easier to read on the script.
I want to BREAKLINE this code for each IF statement i do, how can i do it?
THANKS!!
I created a sub to "read" what is on a CELL and then return a value.
But i want to BREAK LINE this IF statements so it's easier to read on the script.
Code:
Range("E2").Select ActiveCell.FormulaR1C1 = _
"=IF(ISNUMBER(FIND(""DEPOSITO"",[@COMENTARIO])),""DEPOSITO"",IF(ISNUMBER(FIND(""ABONO"",[@COMENTARIO])),""ABONO"",IF(ISNUMBER(FIND(""CHEQUE"",[@COMENTARIO])),""CHEQUE"",IF(ISNUMBER(FIND(""CARGO"",[@COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""IMPUESTO"",[@COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""AMORTIZACION"",[@COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""INTERES"",[@" & _
"COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""COMISION"",[@COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""FONDOS OTRO BANCO"",[@COMENTARIO])),""CARGO"",IF(ISNUMBER(FIND(""TRASPASO DESDE LINEA SOBREGIRO"",[@COMENTARIO])),""ABONO"",IF(ISNUMBER(FIND(""PAGO RECIBIDO PRV"",[@COMENTARIO])),""ABONO"")))))))))))" & _
""
I want to BREAKLINE this code for each IF statement i do, how can i do it?
THANKS!!