Forum Discussion
- rraghvaniChampion Level 3
Is the spreadsheet already opened in Excel? I suggest you check your Task Manager to ensure no other Excel processes are opened.
- jaydesaiOccasional Contributor
Thank you for the update!
did check and no other Excel file is opened
- Hassan_BallanFrequent Contributor
Hello,
I am not sure I understand your message. The error says "removing file" while your statement is open file. If you are attempting to delete an open file, first you need to close it.
I don't believe TestComplete can open a password protected file, I get a different error. Probably you need third party libraries to decrypt.
- jaydesaiOccasional Contributor
Hi,
Thank you for the update
I have recorded steps. Please see
- jaydesaiOccasional Contributor
Please find attached
- rraghvaniChampion Level 3
There's no recorded steps or anything attached!
- jaydesaiOccasional Contributor
please check now
- rraghvaniChampion Level 3
Still, nothing is attached, to either the original post or your responses.
- jaydesaiOccasional Contributor
- rraghvaniChampion Level 3
You are opening a different file here, which is not C:\\temp\\DataStorageExcel.xlsx?
I suggest you use double back-slash as opposed to raw string in path name.
When you double click the error message, what line does it take you to? Because the error message is relating to removing a file, and not opening a file!
Can you provide that exact code that is actually failing? You can use "Insert/Edit Code Sample" icon
- jaydesaiOccasional Contributor
Sorry for the confusion. According to previous screenshot, the location path is correct
- rraghvaniChampion Level 3
Create a new project, with your code, to eliminate any other issues.
Provide that exact code that is actually failing, you can use "Insert/Edit Code Sample" icon
Related Content
- 2 years ago
- 9 years ago
Recent Discussions
- 12 hours ago
- 7 days ago
- 10 days ago