Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

shantanu73
New Contributor III

help require where with the help scripting/macro where we can change the font, colour, width, etc of any object(text, chart, etc

Hello Friends/Guru's/Master,

I want to change the color, font, background color, width, height, etc of any object (text object, chat object, etc) by scripting/macro.

It will be great help if anybody show the way out to achive my requirement by providing me small QVW file example.

Awaiting for response

Thanks in Advance

Shantanu

1 Reply
Siva_Sankar
Honored Contributor

Re: help require where with the help scripting/macro where we can change the font, colour, width, etc of any object(text, chart, etc

Hi, Have no idea for changing the color but here is the code for changing the font size. sub changeFont     set sheet = ActiveDocument.ActiveSheet               for i=0 to sheet.NoOfSheetObjects-1                               set sheetObject = sheet.SheetObjects(i)                               font = sheetObject.GetFrameDef.Font                               font.PointSize1000 = font.PointSize1000 + 1000                               sheetObject.setFont font               next end sub Regards. Siva Sankar

Community Browser