new bug xBrowse ToExcel()

Post Reply
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

new bug xBrowse ToExcel()

Post by MOISES »

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: Select all

                  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
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: new bug xBrowse ToExcel()

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: new bug xBrowse ToExcel()

Post by MOISES »

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
Post Reply