Create DataSet From Sheet

Read the used range into a DataTable (first row = headers).

ExcelExcelCreateDataSet

What it does

Read the used range into a DataTable (first row = headers).

Parameters

ParameterTypeRequiredDefaultDescription
Excel instancevariable
RequiredexcelName that identifies this open workbook.
Sheet (blank = active)string
OptionalWorksheet name; blank uses the active sheet.
Supports variables
Store DataTable invariable
Required
Example: table

More Excel commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.