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     Vertical align BY fields in excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Vertical align BY fields in excel
 Login/Join
 
Guru
posted
Is there any way to get a BY field to be vertically aligned to the TOP of cell in Excel.

I have a BY and a PRINT. The PRINT may be more than one line. When the report comes out in Excel, the BY field is aligned to the bottom of the cell (which is the bottom of the PRINT).

Any ideas?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Virtuoso
posted Hide Post
As far as I know it's an excel problem and that might be solved with some default settings.
You better can search on the Microsoft forum for this.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<JG>
posted
By default alignment in excel is bottom, what this means is when row B wraps row A appears misaligned.

The only way to handle this in WebFocus is to use a template to format the columns.

Sub Auto_Open()
Cells.Select
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlTop
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
End Sub
 
Report This Post
Guru
posted Hide Post
Just to make sure I understand correctly - you're saying to save a .mht on the server with the macro you provided as part of the .mht and then run the report using that .mht?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
<JG>
posted
That's correct.

Remember though the template must be created in a version of Excel LESS than 2007.
 
Report This Post
Expert
posted Hide Post
... with at least two work sheets, each containing data in at least one cell (even a space!).

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
Why is that?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
<JG>
posted
Because that's one of the rules for creating an excel template for use by WebFOCUS.
 
Report 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     Vertical align BY fields in excel

Copyright © 1996-2020 Information Builders