ExportWithoutQuotes (Property)

Applies To:

OLAPQuerySection, PivotSection object, ResultsSection object, TableSection object

Description:

When exporting section data, the ExportWithoutQuotes (Property) enables double quotes surrounding column/cell values containing real values. The default value is disabled.

Action:

Read-write, Boolean

Example 1:

This example exports a Results set to a tab delimited text file that retains double quotes surrounding the Results column data:

ActiveDocument.Sections["Results"].ExportWithoutQuotes=false
ActiveDocument.Sections["Results"].Export("C:\Temp\ExportTest\ MyFile", bqExportFormatText)

Example 2:

This example exports Results set to a tab delimited text file without double quotes surrounding the Results column data:

ActiveDocument.Sections["Results"].ExportWithoutQuotes=true
ActiveDocument.Sections["Results"].Export("C:\Temp\ExportTest\ MyFile", bqExportFormatText)