Exports the specified range of pages in a document to an Excel file.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub Export( _
ByVal document As SectionDocument, _
ByVal filePath As System.String, _
ByVal As System.String _
) |
Parameters
- document
- The ActiveReports object to export.
- filePath
- The file name and path to which to save the spreadsheet.
- pageRange
- A range of page numbers. Ranges are indicated by the use of a hyphen between the starting and ending page numbers in the range. Single pages may also be included. Each range or single page is separated by a comma.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also