I have to copy from Excel to Browser different dates. The format date in excel is dd/mm/yyyy, however when I use Type Into to write the date in the browser, it writes as mm/dd/yyyy: I tried different options that I read in the forum but its still not working.
And the excel value comes from a datatable which the variable is called “FechaCambio”
So, I have to write in TypeInto activity: FechaCambio(ColNameOrString).toString.Trim.Substring(0,10) ??
I have an Excel with two columns. In one column I have a code and in the other one (Called FechaCambio) I have a date, so I have to introduce that code in browser and then introduce the date.
What I did to introduce the date is ReadRange and then use TypeInto activity wirting row(“FechaCamio”).ToString as text. However, although in Excel the format date is dd/MM/yyyy, in browser it is wrote as MM/dd/yyyy.
So, in which activity I have to write what you said? Do I have to add some activities?
@NDG
ensure following:
when a variable is of datatype DataTable then accessing a columnvalue is done by:
DatatableVar.Rows(RowIndex)(ColumnNameOrIndex)
when a variable is of datatype Datarow then accessing columnvalue is done by:
DataRowVar(RowIndex)(ColumnNameOrIndex)
the screenshot shows some missmatches. The part of For each row is important for further help.
Help on the basics are available by courses from the Academy: https://academy.uipath.com