Focal Point
[CLOSED] AUTOFIT in EXL07

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1327041196

February 26, 2019, 03:12 PM
getit
[CLOSED] AUTOFIT in EXL07
Is there a style sheet command to Auto fit the excel cells for width and row height in EXL07 format?

This message has been edited. Last edited by: FP Mod Chuck,


App Studio Version 8202
windows Platform
SQL Server 2008/2012
February 27, 2019, 01:32 PM
jgelona
None that I know of. I do it with the following commands in an excel macro. For example, if my data starts in row 5 col 1:
  ws_last_row = Cells.SpecialCells(xlLastCell).Row
  ws_last_col = Cells.SpecialCells(xlLastCell).Column
  Range(Cells(5, 1), Cells(ws_last_row, ws_last_col)).Select
  Selection.WrapText = False
  Selection.Columns.AutoFit


I do all kinds of formatting using Auto_Open macros that can't be done in WebFOCUS or at least not easily.

This message has been edited. Last edited by: jgelona,


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
February 28, 2019, 08:32 AM
Joanna Swiggett
To control the row height, this helps:

TYPE=REPORT, WRAP=OFF, $


WebFOCUS 8.2.01M
February 28, 2019, 09:11 AM
Doug
Nice Thread Good info...