Hi all,

In my project, I'm trying to connect Excel from VB.net thru Automation. I am able to create, add, save and close the application.

But my problem is when i try to save it opens up a dialog box as" A file named 'c:\Book1.xls' already exists in this lication. Do you want to replace it?"...... I found that it because of my coding, wb.saveas("filename")...so i try to put wb.save...But it give some error message.

What can I do? Can anybody help me? Thanks in advance