Exception from HRESULT: 0x800A03EC

A

Anand

i have written code in C# to save a copy of an open excel file by appending a
time stamp using ((Excel.Workbook)runningObjectVal).SaveCopyAs method ,this
save operation occurs in time intervals i have used a background worker for
the same

this work's when all changes to a cell have been commited, but when the user
is in the middle of some operation in a cell like typing some letters or
numbers or formula etc.. i get the following exception "Exception from
HRESULT: 0x800A03EC".

I am using .net 2.0 on ms office 2007 on a vista os , if i remember
correctly when i ran the same program on another system that had office 2003
version it ran by prompting the user to save the excel file that was opened.
Any ideas people?

Thanks,

Anand.
 
O

Oliver Bock

As far as I know you just have to catch these exceptions and wait until
the user is finished, or somehow prompt him to stop editing the formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top