I am using the below code to pop the value in excel
“=AH”+(dt_20NoticeArchive.Rows.IndexOf(rowC)+2).ToString+“/AC”+(dt_20NoticeArchive.Rows.IndexOf(rowC)+2).ToString
But the value after writing the data in excel I am getting is below
I think your target cell’s format might be set as Text. So can you try to set cell’s format as General manually in advance, or set it using FormatCell activity as the following?
I am writing the data in a different sheet.
But the column type in General.
Also when I am using Text to column feature of excel it is converted into the desired format.
If you are using assign activity to assign the formula and writing into excel using write range, just don’t use write range for workbook. Use write range of excel it will write text as formula on excel.
The custom activities provide you to convert the data type, convert the dictionary to datatable and show the datatable values with column type.
Please download the above package i mentioned, It has the activity called “Change Column Type”
After installing the package, Please drag and drop that activity and pass in the input data table to which the column type want to be changed and pass Column Index like {0,1,2,3}, If you want every column’s type to be changes mention every column index!! and Specify a Data table in output property and use it for merging!! You are done!!!
Hi,
Thanks for the reply
I was able to write the formula using excel application scope
now can you tell me, How can I remove those formulas because Uipath is not able to able to read it as a value.