I'm having a problem, I have to do a for and the variable that happens to me is from the library PHPExcel ->getHighestColumn()
, but the problem is that it returns "G", "Z", "AA", "AB". And there's the problem, it occurred to me to pass it to ASCII (A is 65, B is 66, etc) but when I want to pass to the value of column AA or AB for example (with the function ord()
) it returns 65 , as if the value were A, and not AA or AB. I hope if anyone has an idea how to do it. Greetings and thanks in advance.