Sami_Syed
(Sami Syed)
April 19, 2019, 11:56am
1
I am trying to do the following:
I want uipath to automatically create the excel sheet for me, I even have the '‘create new file’ option checked inside the excel application scope.
However, I keep getting this error:
And I have tried it with and without the .ToString in the excel application scope. None seem to work
Any advice?
indra
(Indra)
April 19, 2019, 11:58am
2
@Sami_Syed Print in the message box of the excel path which given to excel application scope and check whats the path you are getting.
1 Like
Sami_Syed
(Sami Syed)
April 19, 2019, 12:02pm
3
Nevermind I figured out the problem it was because DateTime sets format with the “/” and “:” characters. And we cannot create file names with these characters.
Thanks for the help @indra
1 Like
Anand007
(Anand Jaiswal)
April 19, 2019, 12:05pm
4
Hi @Sami_Syed
Yes the problem is with currentDate format, better you change the format in ToString method. By default " \ " is used.
1 Like
system
(system)
Closed
April 22, 2019, 12:05pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.