Focal Point
[CLOSED] Controlling Excel cell borders

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/779106591

July 30, 2009, 07:38 PM
JohnB
[CLOSED] Controlling Excel cell borders
How can you control the borders of a specific cell in Excel?

For example, how can you make each of the 4 borders of the cell for DEPT a different color?

  
TABLE FILE EMPDATA
    SUM
        SALARY
    BY DIV
    BY DEPT
    BY LASTNAME
END

Thank you,

John

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


WF 7.7.03, Windows 7, HTML, Excel, PDF
July 30, 2009, 08:16 PM
Doug
Check this out: Open the fex in Report painter... select you column (or whatever)... options... style... Select Borders... Go to town with it... Oh, BTW, you'll need "ON TABLE SET HTMLCSS ON" as well... I thin it should work... But, my system (Windows Vista) is not openning / downloading Excel files at this time so I cannot fully test it. If not, I'll delete this post...
July 30, 2009, 08:27 PM
JohnB
I had tried using the Report Painter prior to this post, but did not insert the "ON TABLE SET HTMLCSS ON". It worked for HTML, but not for EXl2K

Thank you,

John


WF 7.7.03, Windows 7, HTML, Excel, PDF
July 31, 2009, 02:14 AM
Cati - France
Hi JohnB,

You can't have the borders in EXL2K format (perhaps it will come in the 7.9 release)
You have to use EXL97 format or first save the result in HTMTABLE and then use SET HTMLFORMTYPE=XLS.

Hope this help.
Catherine


7.7.02 (Html, Excel, Ahtml, Pdf,Graph,.....)
OS400 V5R3, V5R4
Windows 2000/2003/2007/2010