Hello, I'm trying to get the following function to work so that in column 12 of my data set a value of "A" is replaced with "Active" and "B" with "inactive". I seem to have something wrong but am not getting any error messages to give guidence on what. Thanks!
ZTK
for (int i = 0; i <= wks.nrows; i++ ) { range bb = [FreqSortNCON]"FRQSorting_N_CON"!$(12)[i]; if(bb=="A",Replace(bb,"Active");,if(bb=="B",Replace(bb,"Inactive");,"") }