Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Workbook Class / importData Method / importData(String,String) Method
The path and name for the file.
The name of the source data. The source name could be:
worksheet "Sheet1"
table "Sheet1!Table1"
range "Sheet1!A1:C5"
In This Topic
    importData(String,String) Method
    In This Topic
    Import all the data of the specified source of the file.
    Syntax
    public static java.lang.Object[] importData( 
       java.lang.String fileName,
       java.lang.String sourceName
    )

    Parameters

    fileName
    The path and name for the file.
    sourceName
    The name of the source data. The source name could be:
    worksheet "Sheet1"
    table "Sheet1!Table1"
    range "Sheet1!A1:C5"

    Return Value

    An array for the data.
    See Also