Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Column Headings in Excel Format Reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Column Headings in Excel Format Reports
 Login/Join
 
Guru
posted
I am running a report using an Excel macro template. One of the things that the macro does is an autoformat of the entire spreadsheet. The report has some column headings that are longer than the length of the data values for that column. When the macro does the auto format it formats based on the column values and not the column headings. Therefore, the column headings that are longer than the column values gets condensed to the length of the value which forces those column headings to go to the next line. See example below.

The column called "Bills" has a value of "11" which is shorter than the column heading. Therefore, when the autowidth formats the column heading looks like this:

Bil
ls

Can anything be done to prevent this from happening?

WF 761, Windows 7

This message has been edited. Last edited by: Michele Brooks,


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
 
Posts: 244 | Registered: August 27, 2012Report This Post
Guru
posted Hide Post
Change wrap to squeeze (doesn't work in EXL07 7.7.03)...


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Guru
posted Hide Post
The AutoFit Column Width in Excel is overriding the Squeeze in the WF stylesheet


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
 
Posts: 244 | Registered: August 27, 2012Report This Post
Guru
posted Hide Post
You may need a slightly different macro that doesn't do the column fitting then...


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Master
posted Hide Post
quote:
Originally posted by J:
You may need a slightly different macro that doesn't do the column fitting then...


Exactly. Just autofit the data columns you want instead of the all of them.

When I have long column titles and short data, I embed line feeds in the title, the autofit the title instead of the data.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Guru
posted Hide Post
Hi Michele,

Add Cells.EntireColumn.AutoFit to your Macro and mark this topic as SOLVED. Smiler

Thanks,
Rifaz


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Guru
posted Hide Post
[SOLVED] Thank you so much.


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
 
Posts: 244 | Registered: August 27, 2012Report This Post
Guru
posted Hide Post
please edit in your first post and in the right most bottom there is an icon for "Edit or Delete.." , click & add [SOLVED] in the subject.


-Rifaz

WebFOCUS 7.7.x and 8.x
 
Posts: 406 | Location: India | Registered: June 13, 2013Report This Post
Guru
posted Hide Post
Thank you so much.


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
 
Posts: 244 | Registered: August 27, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]Column Headings in Excel Format Reports

Copyright © 1996-2020 Information Builders