J
John Corbin
Hi
I have a need to apply a formula to cells in a column using VBA
The autofill starts at row 2 of column I on a sheet called "working
data" and goes until the last cell used in column I, so I also need to
know what the last cell used in column I is.
The formula is pretty complex.
=IF(ISERR(-TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),
100))),"UNKNOWN",
IF(--TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),100))<999,
TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),100)),"UNKNOWN"))
Thanks in advance
I have a need to apply a formula to cells in a column using VBA
The autofill starts at row 2 of column I on a sheet called "working
data" and goes until the last cell used in column I, so I also need to
know what the last cell used in column I is.
The formula is pretty complex.
=IF(ISERR(-TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),
100))),"UNKNOWN",
IF(--TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),100))<999,
TRIM(RIGHT(SUBSTITUTE(H2,"/",REPT(" ",100)),100)),"UNKNOWN"))
Thanks in advance