I am creating a file at run time with current data time .
But I am facing this issue anyone help pls.
I am creating a file at run time with current data time .
But I am facing this issue anyone help pls.
Before this activity try to use the kill process with excel as process name and after that give a delay of 2 to 3 sec.
If kill process is not solve the issue
Then file naming convention may be the issue
You have used / in tha date time. So instead that use _ or -
Hi @BHUVAN
Another problem is you are using invalid characters in a filepath
Take a look at the below.
Recommned using a semi-colon “;” instead.
Try this format instead:
dd.MM.yyyy hh;mm;ss
Cheers
Steve
Please use like this
Path.Combine("C:\Users\Downloads","Excel" + Now.ToString("ddMMyyyyhhmmss") + ".xlsx")
cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.