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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
divyasivathanu
Contributor II
Contributor II

CSV file to be saved with tab separator value

Hi, 

I need a CSV file to be saved with tab separator value. But I am not getting the expected result instead the value is getting replaced with '\t' as text.

Please find the code below and let me know what should be corrected.

SUB ExportChartToCSV

SET objChart = ActiveDocument.GetSheetObject("SAMPLE_ORDER")

objChart.Export "C:\Output\Inventory Manager\Data.CSV", "\t"

END SUB

Labels (1)
1 Reply
Frank_Hartmann
Master II
Master II

try this:

SUB ExportChartToCSV

SET objChart = ActiveDocument.GetSheetObject("SAMPLE_ORDER")

objChart.Export "C:\Output\Inventory Manager\Data.CSV", Chr(9)

END SUB