How to overwrite an excel application without prompting the users

后端 未结 4 1656
甜味超标
甜味超标 2021-01-19 14:13

Can anyone help me on how can I overwrite the excel file without prompting the users in VB.Net..

I have try this code but It doesn\'t work..

Dim xlsA         


        
4条回答
  •  长发绾君心
    2021-01-19 14:55

    If you just want to overwrite the file that's currently there, might just be easier to delete it first and then save the new file. So just use System.IO.File.Delete.

提交回复
热议问题