Code: Select all
Function Import()
Local oRange,lOpened:=.f.
* oRange := GetExcelRange( ExePath() + "CLIENTI.xls" )
oRange := GetExcelRange( ExePath() + "CLIENTI.xls" , , @lOpened)
USE CLIENTI ALIAS CL
SELECT CL
FW_ExcelToDBF( oRange, nil, .t. )
xbrowse()
oRange := NIL
return nil