View Single Post
  #1   Report Post  
Posted to microsoft.public.dotnet.languages.vb,microsoft.public.excel.programming
mwazir mwazir is offline
external usenet poster
 
Posts: 4
Default Process excel files, suppress alerts

Dear all,

I have a .NET app that processes some excel file and it was working in all
scenarios.

Recently however we received excel files from a new client which my
application has been unable to process. The problem is that this file has
external links and when you open the excel file, it prompts you to either
update linked information or keep exisiting information.

Since my application runs in a non UI mode, there is no way for me to
respond to this request. I have tried suppressing these message boxes but
have been unable to do so.

I have tried the following to no avail

oExcel.Visible = False
oExcel.AlertBeforeOverwriting = False
oExcel.DisplayAlerts = False

I will be greatful for any pointers in this regard.

Many thanks,

--
Wazir