JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Spreadsheet.AutoFitVariables This function Sets the variable widths and heights to fit the variable names. Syntax Parameters Return Value Sub Spreadsheet.AutoFitVariables( _ Optional height As Boolean = True, _ Optional width As Boolean = True, _ Optional ExpandOnly As Boolean = False) height [in,optional] Type: Boolean Default value: True width [in,optional] Type: Boolean Default value: True ExpandOnly [in,optional] Type: Boolean Default value: False This function does not return a value. Copyright © 2020. TIBCO Software Inc. All Rights Reserved.