Set columns in Excel to Auto Fit
Version 1.0.0.0 (1.33 KB) by
Tal Shir
Set columns in Excel to Auto Fit
This function will set the selected columns to autofit.
This is the same as using the Excel menu: Format -> Column -> AutoFit Selection .
Example :xlsAutoFitCol('filename','Sheet1','A:F')
Cite As
Tal Shir (2024). Set columns in Excel to Auto Fit (https://www.mathworks.com/matlabcentral/fileexchange/23270-set-columns-in-excel-to-auto-fit), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Spreadsheets in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |