Forum Discussion
rraghvani
Champion Level 3
3 years agoEnsure there's no other instances of Excel running.
Also, I've just noticed, your path is not using double back slash. It should be like,
Excel.Open(fileLocation + "Test Data\\DataSheet.xlsx")
// OR
Excel.Open(fileLocation + "\\Test Data\\DataSheet.xlsx")
- csachanandani3 years agoOccasional Contributor
\\ or \ doesnt matter as it picks correct path. And no excel app is running in background. I am clueless why it is not working. It randomly works and then stops.