i did write cell for E3 and E4 as date-1 using this expression DateTime.Now.AddDays(-1).ToString(“yyyyMMdd”) then after autofill range for this specific range ( “E3:E”+(dtss.Rows.Count+1).ToString ) and im getting hash hash hash hash… like that in excel so not to see this hash then what should i do?
The “hash” values (#####) in Excel cells occur when the cell width is not wide enough to display the entire content. To resolve this issue, you can follow these steps in UiPath:
- After autofilling the date values in column E, select the “Write Range” activity that writes the data to Excel.
- In the properties panel of the “Write Range” activity, check the “AutoFit Range” option.
- Provide the range parameter as “E3:E” + (dtss.Rows.Count + 1).ToString.
- Save and run the workflow.
Hope it helps!!
If the cell is too narrow to display the value, then the hash marks are shown. Use Autofit Range activity to autofit the columns and shows the values present in the cells.
Hope it helps.