Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I was trying to apply theme on Button click with following Macro Code:
sub applytheme
set theme=ActiveDocument.GetSheetObject("CH01")
theme.ApplyTheme "forest.qvt"
msgbox"Theme Applied"
end sub
I am getting pop up message i.e Theme Applied but no theme on chart object.
Let me know If I am missing something.
Regards,
Balraj
I think the path to the qvt is missing:
...
theme.ApplyTheme "C:\Users\YOURUSER\AppData\Roaming\QlikTech\QlikView\Themes\forest.qvt"
...
or wherever your qvt-files are stored.
- Marcus
I think the path to the qvt is missing:
...
theme.ApplyTheme "C:\Users\YOURUSER\AppData\Roaming\QlikTech\QlikView\Themes\forest.qvt"
...
or wherever your qvt-files are stored.
- Marcus