Cannot open excel files from Eclipse STS

Occasional Visitor

I have eclipse STS 3.9.2 IDE. I imported a maven project with xls or microsoft excel files into the IDE. I figured out how to setup eclipse to open the excel files from here - https://stackoverflow.com/questions/2847149/getting-error-on-opening-excel-file-from-eclipse.


But, I get an error when I open the excel files from eclipse -
This action couldn't be performed because Office doesn't recognize the command it was given.

I could not find any answers for this online. How do I fix the error ?

PS - I have asked this question here also https://stackoverflow.com/questions/54205617/cannot-open-excel-files-from-eclipse-sts