# Set Cell Value

Sets the value of a specific cell appended with a Spreadsheet tag name.

## Set Cell Value Inputs

Syntax: EV Set Cell Value("Name",Value)

Parameter | Description
--- | ---
"Name" | The Spreadsheet tag name that you use for that cell. You have to enclose the name in quotation marks.
Value | The value you use in the cell: an integer, floating point value, or text string. The function returns #ERR if the cell specified in "Name" input is not an EditInt, EditFloat or EditString function, or the value types do not correspond.

## Set Cell Value Outputs

Returns a status code. The status codes are:

Status Codes | Description
--- | ---
1 | The execution of the command was successful.
0 | Unrecognized command.
-1 | The tag name is invalid.
-2 | The command could not be executed.
-6 | User does not have Full Access to execute the command.

## Set Cell Value Example

To change a published spreadsheet value with the tag name “threshold”, perform the following command: EV SetCellValue("threshold",25)

The In-Sight sensor returns 1 to indicate that the execution of the command was successful. The number of characters (in bytes) and <Float>1</Float> follow as a second confirmation.