zikalkis -2 Newbie Poster

I found one converter and now code VBA function is looking like this in C# (sharp):

public object Tryme(mycell)
{
    mylen = Strings.Len(mycell);
    for (j = 1; j <= mylen; j++) {
        mytest = Strings.UCase(Strings.Mid(mycell, j, 1));
        if (Strings.InStr(1, "AIJQY", mytest) > 0) {
            mysum = mysum + 1;
        } else if (Strings.InStr(1, "BKR", mytest) > 0) {
            mysum = mysum + 2;
        } else if (Strings.InStr(1, "CGLS", mytest) > 0) {
            mysum = mysum + 3;
        } else if (Strings.InStr(1, "DMT", mytest) > 0) {
            mysum = mysum + 4;
        } else if (Strings.InStr(1, "EHNX", mytest) > 0) {
            mysum = mysum + 5;
        } else if (Strings.InStr(1, "UVW", mytest) > 0) {
            mysum = mysum + 6;
        } else if (Strings.InStr(1, "OZ", mytest) > 0) {
            mysum = mysum + 7;
        } else if (Strings.InStr(1, "FP", mytest) > 0) {
            mysum = mysum + 8;
        }
    }
    return mysum;
}

Where I will be able to execute it I don't know yet. ( Converter from VBA to C# and Python is on developmentfusion ) I need it in the tables for 6.7 b people on web site. It is I think search mashine for names! I have 40 days to finish it ???? Help me! I pray you!

happygeek commented: and this was posted to 'show your resume' why? -2