With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim Conn As New OleDbConnection Dim Comm As New OleDbCommand Conn.ConnectionString = CreateConnString("c:\temp\Book1.xls") Comm.Connection = Conn Comm.CommandText = "Insert INTO [MySheet$] (F1, F2) Values ('1','A')" Try Conn.Open() Comm.ExecuteNonQuery() MsgBox("Inserted.") Conn.Close() Catch ex As Exception MsgBox("Error.") Conn.Close() End Try End Sub
Join the community of 500,000 technology professionals and ask your questions.