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     Format EXL2K - How do I make it landscape?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Format EXL2K - How do I make it landscape?
 Login/Join
 
Member
posted
I'm trying to force this report to go into landscape mode in Excel. When I run this code it stays in portrait. Any ideas? Thanks in advance!

ON TABLE SET ONLINE-FMT EXL2K
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.350000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.100000,
BOTTOMMARGIN=0.350000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
 
Posts: 3 | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
Jennifer,

Squeeze On is part of your problem. But if you will search this Forum using the Find Search tab...you will find many discussions on this topic and things to try for your application.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Jennifer,

As far as I know, Orientation is ignored for Excel unless you use Excel Templates (which I'm just learning how to use). You cannot set any of the "Page Setup" features.

Marie


WebFOCUS 7.1.6 on Win 2K SP2 - Self Service, Informix SQL Passthru
 
Posts: 14 | Location: Seattle, WA | Registered: June 15, 2005Report This Post
Expert
posted Hide Post
Marie is absolutely correct, in fact the only output format that you see the page orientation respected is PDF so for Excel you will have to rely upon VBA code.

This is some code that you would need to change orientation and page size -
    With ActiveSheet.PageSetup
        .Orientation = xlLandscape
        .PaperSize = xlPaperA3
    End With


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Tony, I am very curious as to where this code would be applied.

Cheers.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
<JG>
posted
Francis look at the posting
WebFocus 7.1 and Excel Templates it contains the full script that tony is indicating

Unfortunately you're 53 so if you want to do it you will need to look at the article I posted quite a while ago
Creating Excel macros
 
Report This Post
Expert
posted Hide Post
Thanks, JG.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Format EXL2K - How do I make it landscape?

Copyright © 1996-2020 Information Builders