Imports a table from the specified Microsoft Excel file for this variable pattern feature.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function ImportFromExcel( _
ByVal ExcelFile As System.String _
) As System.Integer |
| Visual Basic (Usage) | |
|---|
Dim instance As IDimPatternFeatureData
Dim ExcelFile As System.String
Dim value As System.Integer
value = instance.ImportFromExcel(ExcelFile) |
| C# | |
|---|
System.int ImportFromExcel(
System.string ExcelFile
) |
| C++/CLI | |
|---|
System.int ImportFromExcel(
& System.String^ ExcelFile
) |
Parameters
- ExcelFile
- Path and Microsoft Excel file name from which to import a table; valid filename extensions are .xls, .xlsx, and .xlsm
Return Value
Status of importing a table from a Microsoft Excel file as defined in
swPatternFeatureImportExportError_e
See Also
Availability
SOLIDWORKS 2017 FCS, Revision Number 25.0