M
mp
net newb here...
i found this intro but dont' know where to go from here
Sub WriteExcelFileWithJet()
'If your purpose of use Excel is only to store data in a sheet, you do not
need to run Excel application at all. Simply use MS Jet OLDDB driver and
..NET System.Data.OleDb name space (OleDbConnection) to query/retrieve data
and update from/to Excel sheet. This way you will not need to deal the
famous Excel.Application remains in memory issue, which has been raised so
many times.
Dim ODB As System.Data.OleDb.OleDbConnection
ODB.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\TEST.XLS"
ODB.Open()
ODB....how would I print "Hello" to cell A1 for instance on "Sheet1" or
rename sheet, etc...
End Sub
thanks
mark
i found this intro but dont' know where to go from here
Sub WriteExcelFileWithJet()
'If your purpose of use Excel is only to store data in a sheet, you do not
need to run Excel application at all. Simply use MS Jet OLDDB driver and
..NET System.Data.OleDb name space (OleDbConnection) to query/retrieve data
and update from/to Excel sheet. This way you will not need to deal the
famous Excel.Application remains in memory issue, which has been raised so
many times.
Dim ODB As System.Data.OleDb.OleDbConnection
ODB.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\TEST.XLS"
ODB.Open()
ODB....how would I print "Hello" to cell A1 for instance on "Sheet1" or
rename sheet, etc...
End Sub
thanks
mark