Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

<H1> don't work in expression :(

QlikView 9.0.0 SR5. Can not change font size in expression : ( I wrote all from <H1> to <H6> but any changes

5 Replies
Miguel_Angel_Baeyens

Hello,

If you want to get an expression in bold, use any conditional that returns "B" in the expression text formatting (expanding the "+" (plus) sign on the left side of the expression), for example

If(Sum(Sales) > 10000, '<B>')


B for bold, I for italic and U for underlined

Hope that helps

EDIT: Checked return codes.

Not applicable
Author

No, I do not want to bold,italic or underlined font, I just want to change font size. Will <H3> tag work correctly?

hector
Specialist
Specialist

Hi,

Miguel i'm always have used B for bold, I for italic and U for underline, are these new codes?

Rgds

Miguel_Angel_Baeyens

Hello Hector,

No new codes. For some reason I got the wrong values. I have checked my previous post.

Thanks.

Miguel_Angel_Baeyens

Since the font is for the whole chart, not for a single expression, you can use some macro code to get the chart font changed

Sub ChangeFont set obj = ActiveDocument.GetSheetObject( "CH01" ) f = obj.GetFrameDef.Font f.PointSize1000 = 21000 obj.SetFont fEnd Sub


Hope that helps.