Hi all,
i have a date column in excel that I am populating todays date+certain number of days. this is working fine.
dateTime.now. ddDays(Convert.ToInt32(row(“NumberdaystoCurtail”).ToString)).ToString(“MM/dd/yyyy”)
I need to subtract one day from the resulting date column. i am using the formula below
*** DateAdd(“d”,-1,row)**
and i am getting an error. “argument date value cannot be converted to date type”. can anyone advise where the mistake is