Getting error on opening excel file from eclipse

2020-03-04 09:49发布

问题:

I am getting following error on

Cannot create the in-place editor

This is probably because there is no OLE editor registered against the type of file you were trying to open. Failed to create Ole Client. result = -2147417851

I have MS office 2007,and the excel file is stored as "save as 2003 version".

回答1:

I'm using 3.5 so things could be different. Window->Preferences->General->Editors->File Associations.

Add *.xls and add Associated Editor (from this window you can select external programs to open with)

I think you should be able to open the excel file inside and eclipse editor, but it looks like the OLE is not working on your system for some reason.



回答2:

first check the system editor available or not. if available right click on xls file and click on open with system editor. if not available follow bellow steps.

eclipse-->help-->Install new software-->search for editor and download and restart the eclipse. After restart the eclipse right click on xls file and click on open with system editor.