Suppress dialog messages when opening Excel file via WebBrowser

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
My program opens an Excel 2003 file using webbrowser via the wb.Navigate(filename) method. Every time it does this, the user gets two dialogs, the first being "Do you want to open or save this file?", followed by something like "macros detected in this workbook, do you want to enable macros?" (which they should). How can these messages be suppressed? The second might be harder because I think that is a built-in security feature of Excel.

View the full article
 
Back
Top