In the script examples, it is assumed that you have declared the following variables:
Variable name |
Variable type |
---|---|
app |
Excel.Application |
workbook |
Excel.Workbook |
worksheet |
Excel.Worksheet |
chart |
Excel.Chart |
embedChart |
Excel.ChartObject |
cellRange |
Excel.Range |
wsFunction |
Excel.WorksheetFunction |
count |
integer |
intCellValue |
integer |
stringCellValue |
string |