Focal Point
[CLOSED] Color of EXCEL hyperlink

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

June 22, 2015, 07:29 AM
Danny-SRL
[CLOSED] Color of EXCEL hyperlink
I am drilling down from a text in a HEADING.
The heading BACKCOLOR is navy and the text COLOR is white.
In HTML everything is fine.
However when output is EXCEL, the color of the text is automatically set to blue by EXCEL.
How can I set the color of the hyperlink in EXCEL to white?

This message has been edited. Last edited by: Danny-SRL,


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

June 23, 2015, 06:02 AM
Ramkumar - Webfous
Hello Danny,

This piece works fine for me. Color remains as coded. WebFOCUS version 8.1 and Excel 2007.

TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=N1, FOCEXEC=carsample(COUNTRY),COLOR=WHITE, BACKCOLOR=NAVY, $
ENDSTYLE
END


This message has been edited. Last edited by: Ramkumar - Webfous,


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
June 23, 2015, 06:29 AM
Ramkumar - Webfous
TYPE=TITLE,
HEADING worked the same way...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
June 24, 2015, 08:29 AM
Danny-SRL
Yes... but see this:

TABLE FILE CAR
SUM SALES BY COUNTRY
HEADING
"DRILL"
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE=ENDEFLT,$
TYPE=DATA, COLUMN=COUNTRY, COLOR=WHITE, BACKCOLOR=NAVY, FOCEXEC=DD, $
TYPE=HEADING, JUSTIFY=CENTER, OBJECT=TEXT, ITEM=1, COLOR=WHITE, BACKCOLOR=NAVY, FOCEXEC=DD, $
ENDSTYLE
END

Apparently, the included style overrides the local HEADING BACKCOLOR definition.
Aaaaarrrgh!


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

June 25, 2015, 03:06 AM
Ramkumar - Webfous
quote:
OBJECT=TEXT, ITEM=1,


This is the culprit. Not the Stylesheet. If I remove this Object and Item then It is working fine.


TABLE FILE CAR
SUM SALES BY COUNTRY
HEADING
"DRILL"
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
INCLUDE=ENDEFLT,$
TYPE=DATA, COLUMN=COUNTRY, COLOR=WHITE, BACKCOLOR=NAVY, FOCEXEC=DD, $
TYPE=HEADING, JUSTIFY=CENTER, COLOR=WHITE, BACKCOLOR=NAVY, FOCEXEC=DD, $
ENDSTYLE
END
 



Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
June 30, 2015, 12:57 AM
Danny-SRL
Thanks Ram.
However, I need the OBJECT and ITEM because my HEADING has many different objects and I want to drill from only one of them.
I'll probably open a case if my customer insists...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF