I have often wondered how that "Autofit" command works internally. I mean, I can see that it could work, if once issued, the application, runs down the column, finds the value with the greatest length, and then adjusts the column width accordingly. However, it seems to work immediately upon execution, regardless of the number of rows. Obviously, then, no such processing is taking place.
If this is true, then there must be some sort of internal record being kept about the length of values whenever a value is added.
Then, when the Autofit command is initiated, it simply refers to this internal data table, makes reference to this value and then adjusts the column width accordingly.
Assuming, again, that all of this is true, is there a way to access this piece of data. I am loading Excel data into SAS, and it would be very helpful to know the length of the longest value in a given column.
Thanking you in advance.
Mike K
If this is true, then there must be some sort of internal record being kept about the length of values whenever a value is added.
Then, when the Autofit command is initiated, it simply refers to this internal data table, makes reference to this value and then adjusts the column width accordingly.
Assuming, again, that all of this is true, is there a way to access this piece of data. I am loading Excel data into SAS, and it would be very helpful to know the length of the longest value in a given column.
Thanking you in advance.
Mike K