Hello Wonderfull people,
I need your help if possible with this problem.
The context is:
i have to open an excel file. This excel file has several sheets. but in one of the sheet there is a cell (C2) where a date can be set to update all the excel file document information. In addition this excel cell is formated to date (C2).
Then i create a Excel process scope to indicate where my excel file is located and to position my program in the correct Sheet (please check picture below)
And here is my where my problem starts:
I use again a excel process scope to use a Write cell activity to be able to write the date from yesterday which have been stored in my Date_name variable.
I have this message error:
Could you please help or give any solutions ideas to overcome this problem.
You can just use those expressions throughout your automation wherever you need those values. The only case where you’d want to store them in variables at the beginning is if this automation would start on one day and finish on another. Also, there’s no reason to have these inside an Excel Process Scope.
You don’t use Clicks inside Use Excel file. Clicks are UI automation. Use Excel file is for the Excel activities to be used - like Read Range, Read Cell, Write Range, Write Cell, etc.
You don’t have to click the cell before writing to it with Write Cell. You don’t use UI Automation (clicks etc) when working with Excel. Please do the free UiPath Academy training.
Did you try completely deleting the Write Cell activitiy and recreating it from scratch?
Did you try opening the “Where to write” expression editor, doing Ctrl+A to select all the content, and post it here to check whether there’s some weird char in the expression?
Did you try opening the “Where to write” expression editor to check whether for some reason there’s something weird on a different line that might be hidden on the inline field? For example: