Why the code is not running.
Exporting mdb file to excel file
Dim con As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\User\Documents\jjj.mdb")
con.Open()
'New sheet in Workbook
Dim AccessCommand As New System.Data.OleDb.OleDbCommand("SELECT * INTO [Excel12.0;DATABASE=C:\Users\User\Music\Book11.xls;HDR=NO;].[Sheet7] from [jj] ", con)
AccessCommand.ExecuteNonQuery()
con.Close()