AddSheet Method
Description
Adds the specified sheet to the design-time or run-time data table and returns the sheet so that you can directly set properties of the new sheet in the same statement.
Syntax
DataTable.AddSheet SheetName
Return Value
Example
The following example uses the AddSheet method to create the new sheet, "MySheet" in the design-time or run-time data table and then adds a parameter to the new sheet.
Variable=DataTable.AddSheet ("MySheet").AddParameter("Time", "8:00")