How to overwrite an excel application without prompting the users

后端 未结 4 1628
甜味超标
甜味超标 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:49

    Why do you need to use SaveAs?
    Looking at the code, you are trying to write to the same file. Use Save instead.

提交回复
热议问题