error to import from excel

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

error to import from excel

Post by Silvio.Falconi »

in 2016 this example worked fine now it doesn't import any records from excel sheet

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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply