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: 
vesnabb
Contributor
Contributor

Label in pivot table with chr(10) export to excel dont work

labele : 'Value'&chr(10)&'EUR'

in pivot table is OK --> 2 lines

export in EXCEL with: (in excel file is only in 1 lines ??????)

sub SendToXL
set XLApp = CreateObject("Excel.Application")
XLApp.Visible = True
set XLDoc = XLApp.Workbooks.Add
set tbl = ActiveDocument.GetSheetObject("CH46")
set XLSheet = XLDoc.Worksheets(1)
tbl.CopyTableToClipboard true
XLSheet.Paste XLSheet.Range("A1")
xlsheet.Range("A:A").WrapText = True
end sub



1 Reply
vesnabb
Contributor
Contributor
Author

I attach example !

Please help !

Vesna