Учитывая индекс столбцов, как вы можете получить имя столбца Excel?
Проблема сложнее, чем кажется, потому что она не только base-26. Столбцы не обертываются, как обычные цифры. Даже Пример поддержки Microsoft не масштабируется за пределами ZZZ.
Отказ от ответственности: это какой-то код, который я сделал некоторое время назад, и сегодня он столкнулся с моим рабочим столом. Я думал, что это достойно публикации здесь как вопрос до ответа.