We have been using EDraw in our product for several months. During that time we have been quite happy, however there have been some complaining, that every now and then Excel stucks when content is saved.

The problem seems to be somehow related to the editing of Excel cell. If user is editing a cell and hasn’t accepted the value yet by pressing enter, the EDOffice methods cannot be called.

It may be demonstrated with following javascript code:

try

{

a = document.EDOffice.GetApplication();

alert(a.Name);

}

catch(err)

{

alert(“Error, cannot get the application type.”);

return;

}

If no cells are being edited, the messagebox shows “Microsoft Excel”. However, if a cell is being edited, the program either gives the error message in the catch statement, or gets totally stuck (must be killed with taskmanager).

Do you know any way to overcome this problem? The best way would be to somehow programmatically accept the cell value before saving. If that is not possible, it would be helpful if it was possible in some way to detect the erroneous situation before calling the EDOffice methods which cause the stuck.