FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour new bug xBrowse ToExcel()
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
new bug xBrowse ToExcel()
Posted: Wed Jan 01, 2020 01:56 PM
Event description: (DOS Problem -2147352567) WINOLE/1007 No se puede obtener la propiedad Paste de la clase Worksheet. (0x800A03EC): Microsoft Excel

Stack Calls
===========
Called from: => TOLEAUTO:PASTE( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:TOEXCEL( 9880 )
Called from: .\source\function\XBROWSER.PRG => (b)XBROWSE( 176 )

Lines source\classes\xbrowse.prg

Code (fw): Select all Collapse
                  if Len( cText ) > 16000
                     ::oClp:SetText( cText )
                     oSheet:Cells( nPasteRow, 1 ):Select()
         here->            oSheet:Paste()


Thank you.
Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: new bug xBrowse ToExcel()
Posted: Wed Jan 01, 2020 06:08 PM

Hallo,

It looks to me a OLE problem within your Office.
Try to run a repair of your Office.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Re: new bug xBrowse ToExcel()
Posted: Wed Jan 01, 2020 06:56 PM

Thank you.

In the same PC, export to Excel in Report works perfect.

Also, a TRY/CATCH error control is missing.

Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40

Continue the discussion