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     [CLOSED] Using Excel Templates to force cell formatting

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Using Excel Templates to force cell formatting
 Login/Join
 
Gold member
posted
Hi,

I've read several past posts but I'm still very confused on this. I have a report with an excel output but the user has requested several formatting options to be done automatically. Some of these requests, like setting the height of each row, I cannot see how to do in report painter when the output is exl2k. I thought that maybe I needed to use a template with all the cells formated in the way I want and then webfocus would populate this template... did I misunderstand, or is that how the templates work?

I created the excel template file with 2 worksheets and at least an empty space on each and saved it as a ap_image_silo.mht file in my app path. Then in my report, the output was set as

ON TABLE PCHOLD FORMAT EXL2K TEMPLATE 'ap_image_silo' SHEETNUMBER 1

It looks like it is opening into the template as the excel that opens up has 2 worksheets; the data is contained in worksheet 1 but has none of the cell resizing/formatting that I built into it; worksheet 2 is blank and does have all the cell formatting of the template (the sheets were identical in my template file).

I'm not sure if I am doing something wrong, or just expecting something that is not possible.

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


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
 
Posts: 61 | Registered: April 16, 2009Report This Post
Gold member
posted Hide Post
JJoyce,

when you use an excel template, focus will overwrite the sheet that you populate your data into. So for this example that you reference here, if your formatting was in sheetnumber 1 then it would be overwritten. To get around this I do one of 2 things. I will either create a macro and use that to update all of my formatting when the user opens the report, or I will put my output information into a data sheet (Say sheet two) and then reference the data in the sheet that I have already formatted.

Eric


Eric Woerle
WF 7.6.7 Reportting Server
ETL 7.6.10
Dev Studio 7.6.7
 
Posts: 95 | Registered: July 31, 2007Report This Post
Gold member
posted Hide Post
Thanks Eric. I thought it was overwriting.. I think I'll try the macro out.


WebFOCUS 7.7.2
Win2003
Excel, HTML, PDF
 
Posts: 61 | Registered: April 16, 2009Report 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     [CLOSED] Using Excel Templates to force cell formatting

Copyright © 1996-2020 Information Builders