Excel auto alphabet cell range

This code generates the alphabetical index of any cell in excel doc.,
231 Downloads
Updated 31 Oct 2012

View License

This function is useful when you want to export data from matlab to excel.
The cell range should be known, in order to place the data in proper range, if you dont have any prior information of your data range, then the need of auto-calculation of the start and end cell pointers is mandatory.
The input of the function id the number of colums your data contains. the output will be the end cell address in alphabet order, (e.g cell No. 25 will be letter 'Y'), this code is valid up to 18278 colums.

Cite As

Fuad Numan (2024). Excel auto alphabet cell range (https://www.mathworks.com/matlabcentral/fileexchange/38851-excel-auto-alphabet-cell-range), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0