Excel: The given paths format is not supported with DateTime

Hello all, I’m getting this error each time I try to create excel file with current date.
current_date is type of String
Within Assign activity - current_date = DateTime.Now.ToString(“yyyy/MM/dd HH:mm:ss”)
Also, I’ve tried to add current_date.ToString within Excel Application Scope, but that didn’t work as well.
This is my workflow:

Usually excel file path cannot accept space or semicolon with its Filename
So kindly mention like this min first assign activity
current_date = Now.ToString(“dd_MM_yyyy_hh_mm_ss”)

mention as

Cheers @bp777

1 Like

@Palaniyappan it’s always pleasure to get answer from you.
That is solution!
Cheers mate!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.