FUNCTION MAIN()
LOCAL oCn := CREATEOBJECT( "ADODB.Connection" )
oCn:Open( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\xharbour\mytest.xls;Extended Properties='Excel 8.0'" )
oCn:Execute( "SELECT * INTO [DBASE III; Database=c:\xharbour].mytest FROM [MySheet$]" )
oCn:Close()
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Antonio Linares, Silvio.Falconi and 84 guests