I am trying to write the date as a string into Excel cell but it is updating as #####, So to overcome this I want to change that cell type as General.
I have tried with conversion of current date format with CDate(Date).ToString(“yyyyMMdd”) which will give correct format but while updating same into excel updating as ####
Most probably, it is an Autofit issue. I don’t think that is the value. You can simply double click on the column manually and check if the value still remains the same.
Another way to avoid this is to use the Autofit Range Activity.