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     [SHARING] Images in Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Images in Excel
 Login/Join
 
Platinum Member
posted
I found it interesting -- all the posts on this and we still don't seem to have an easy way to do this.

I have a report the users can choose to run to Excel, PDF or HTML. My testing shows that PDF and HTML will work with png files, but Excel wants gif. So I have to put variables in my code to check and set the file name accordingly. Also, I can't set the position of the image in Excel, it always shows to the left, so I have to make sure the heading isn't too far to the left or it will be over-written by the image.

Here is a snip of code:

-SET &IMAGEFILE= IF &OUTPUT_TO EQ 'XLSX' OR 'EXL2K' THEN 'BMI-Horizontal-Black.gif, SIZE=(2 0.75)' ELSE 'bmi-horizontal-color.png, SIZE=(3 1.5)';
-SET &JUSTIFY= IF &OUTPUT_TO EQ 'XLSX' OR 'EXL2K' THEN 'CENTER' ELSE 'LEFT';
.
.
.
TYPE=TABHEADING,
JUSTIFY=&JUSTIFY.EVAL,
$
TYPE=REPORT,
IMAGE=&IMAGEFILE.EVAL,
POSITION=(+3.5 0.0),
$



Just thought I'd add to the posts in case this helps anyone.

--Deb


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
quote:

-SET &IMAGEFILE= IF &OUTPUT_TO EQ 'XLSX' OR 'EXL2K' THEN 'BMI-Horizontal-Black.gif, SIZE=(2 0.75)' ELSE 'bmi-horizontal-color.png, SIZE=(3 1.5)';
-SET &JUSTIFY= IF &OUTPUT_TO EQ 'XLSX' OR 'EXL2K' THEN 'CENTER' ELSE 'LEFT';

Just a question : you are giving both Excel format choices option to your users : XLSX or EXL2K ? Or you put both because you have both format used historically in different fex ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Martin,
Most of our reports use EXL2K right now, but I'm wondering if we should switch to XLSX. Which do you use?


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
I would say that if you are using WF82 and according to your MS-Office version I would go with XLSX which is more up to date than EXL2K
It's like if you are still using Excel-97 format, still working, but not the latest and best one.
Your (and organization) choice

Personally, I would not put both, one or the other and have every report with the same format. Not a big deal to change.
I have changed all EXL2K by XLSX, less security and compatibility issue than using EXL2K with new MS-Office version


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Martin,
Thanks for the opine. I'm leaning toward changing everything over to XLSX. I may push it when we do our next upgrade.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report 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     [SHARING] Images in Excel

Copyright © 1996-2020 Information Builders