I have excel files as bellow,
I need to open the excel file by date. so I used below code,
But, below error came(Failed to open excel file). Please tell me how to solve it
Solved! Go to Solution.
Print the full path in a display box and see what path it shows up.
It shows the asterisk also. Clearly there is no such file with the asterisk.
The parameter needs an "existing Excel document" it says.
If you want to open today's file and if you are sure that there is always going to be 1 file having today's date then you can use this approach which makes use of File filter option.
After doing the above,
%Files[0].Fullname% will give the name of the file you need having today's date.
Now you can use it in Launch Excel.
Print the full path in a display box and see what path it shows up.
It shows the asterisk also. Clearly there is no such file with the asterisk.
The parameter needs an "existing Excel document" it says.
If you want to open today's file and if you are sure that there is always going to be 1 file having today's date then you can use this approach which makes use of File filter option.
After doing the above,
%Files[0].Fullname% will give the name of the file you need having today's date.
Now you can use it in Launch Excel.
It worked. Thank you very much
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.