Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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