Delete a Table

Delete a table from an existing Excel worksheet.

Overview

This procedure deletes a table from an existing Excel worksheet.

Prerequisite Data

These required data elements must be present in the automation before using the procedure.

Data Name
Data Type

the worksheet

Excel Worksheet

the table

Table

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

delete the table in the worksheet where

What does it do?

References an Excel worksheet to delete a table from.

Where does it go?

This phrase should be written on a new line.

Is it required?

✅ Yes — This phrase is required in the syntax.

Does it require input data?

⛔ No — This phrase does not require input data.

the location is

What does it do?

Specifies the top left location of table to delete.

Where does it go?

This phrase should be indented beneath delete the table in the worksheet where.

Is it required?

✅ Yes — This phrase is required in the syntax.

Does it require input data?

✅ Yes — A Text value should be specified.

the height is

What does it do?

Specifies the height of the table to delete

Where does it go?

This phrase should be indented beneath delete the table in the worksheet where.

Is it required?

✅ Yes — This phrase is required in the syntax.

Does it require input data?

✅ Yes — A Number value should be specified.

the width is

What does it do?

Specifies the width of the table to delete

Where does it go?

This phrase should be indented beneath delete the table in the worksheet where.

Is it required?

✅ Yes — This phrase is required in the syntax.

Does it require input data?

✅ Yes — A Number value should be specified.

Examples

1. Delete a Table from an Excel Worksheet

delete the table in the worksheet where
    the location is "B2"
    the height is 5
    the width is 4

Last updated

Was this helpful?