Resize worksheet column widths to display content of all cells
X-Function not designed for Auto GetN Dialog.
1. wautosize;
2. wautosize cw1:=2 cw2:=10 rh1:=2 rh2:=3 hw:=b;
Please refer to the page for additional option switches when accessing the x-function from script
Input
Worksheet
Specify the worksheet to resize.
double
Specify the minimum column width of the worksheet.
Specify the maximal column width of the worksheet.
Specify the minimum column height of the worksheet.
Specify the maximal column height of the worksheet.
int
Specify the resize range
Option list:
Specify the width of column margin.
Specify the height of row margin.
Specify the number of column to resize.
This function is used to resize the worksheet columns width by the maximal length in each column.