Thanks guys, but I couldn't get this to work. I just did a work around by deleting all the files in that directory before saving to it. This works fine for my purpose.
Thanks again.
Hi, I need to overwrite an Excel spreadsheet file, but can't seem to figure it out. I'm not using a file dialog window, just saving directly to the same location. Here's my code:
'Create a new workbook in Excel.
Dim oExcel As Object
Dim oBook As Object
Dim oSheet As Object
oExcel =...
Hi, I'm new to VB.NET and am trying to write code to delete all the records in a temp table.
Here's what I have, but the code doesn't work. Any help will be appreciated. Thanks!
Dim connAccess As OleDbConnection
Dim da As OleDbDataAdapter = New OleDbDataAdapter
Dim cmd As OleDbCommand
Dim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.