FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error en oBrw:ToExcel()
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Error en oBrw:ToExcel()
Posted: Mon Jul 25, 2022 04:03 PM

Buenas tardes Estimados

Con Office 2021 me sale el siguiente error:
No se puede asignar la propiedad FreezePanes de la clase Window. (0x800A03EC): Microsoft Excel
TXBROWSE:TOEXCEL( 9335 )

Con Office 2019 me sale el siguiente error:
No se puede obtener la propiedad Paste de la clase Worksheet. (0x800A03EC): Microsoft Excel
TXBROWSE:TOEXCEL( 9241 )

Gracias por la ayuda

Saludos,



Adhemar C.
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Error en oBrw:ToExcel()
Posted: Mon Jul 25, 2022 06:43 PM
hi,

which Version of FiveWin are you using :-)

Line 9241 or 9335, in Version 22.06, have nothing todo with Excel.

Code (fw): Select all Collapse
9241          if ::lSqlRDD

9335                ::oSeek:SetPos( Len( ::cSeek ) + 1 )


---

how "big" (Row/Col) is your Excel Sheet ? more that 64 Kb ?
greeting,

Jimmy
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Error en oBrw:ToExcel()
Posted: Mon Jul 25, 2022 06:55 PM

Thanks friend

FWH1804

9335 oWin:FreezePanes := .t. //I put it as a comment it passes

9241 oSheet:Paste() //This is the problem

Saludos,



Adhemar C.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error en oBrw:ToExcel()
Posted: Thu Jul 28, 2022 02:30 PM
oSheet:Paste()


Try
Code (fw): Select all Collapse
oBrw:lExcelCellWise := .t.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion