in the excel application object, try setting the DisplayAlerts proerty to false.
or better yet, check to see if the file exists already (File.Exists(filename)) and if it does, remove it or display your own message.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Vb.net- ExcelThreaded View
|
Click Here to Expand Forum to Full Width |