Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
shilina_klara
Contributor III
Contributor III

Export of charts to Excel

Hello!

tell me how you can export the graph as a picture, but with a transparent background. I borrowed the code, where there is a part:

if (not objSource is nothing) then

if (pasteMode = "image") then

Call objSource.CopyBitmapToClipboard()

else

Call objSource.CopyTableToClipboard(true) '// default & fallback

end if

Set objCurrentSheet = objExcelDoc.Sheets(sheetName)

objExcelDoc.Sheets(sheetName).Range(sheetRange).Select

objExcelDoc.Sheets(sheetName).PasteSpecial DataType=wdPasteBitmap

and in the excel it is loaded so:

Безымянный12.png

and I need it without a white background:

Безымянный321.png

1 Reply
marcus_sommer

I don't think that is possible because a picture will always have a defined background - each pixel has an assigned color. As a workaround you could export the data to excel and creating with them the graph there.

- Marcus