Modern Design - Excel - Write Range - End of Expression Expected

Hi,

Could you please help me with the following issue?

I am trying to write a value to excel using WriteCell activity but its throwing an error “End of Expression Expected”. I followed the below procedure from UiPath Docs.

Where to write - Click Plus plus button
on the right side of the field and then, from the menu, select an Excel file and a named cell where to enter the data, or select Indicate in Excel to indicate directly from the file. Alternatively, you can select Custom Input to enter a cell address manually, or Open in Advanced Editor to enter a VB expression.

image

Regards,
Logesh

Hi @Praveen8008 ,

Could you try the expression like below. Thanks.

Excel.Sheet(“Sheet1”).Cell(“D2”)

Or we can indicate directly on the cell which we want to write.

1 Like

Hi,

If you use C#, can you try the following?

Excel.Sheet["Sheet1"].Cell["D2"]

img20211230-4

Regards,

Hi Yoichi, still its throwing an error :frowning:

Type of Project:

image

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.