new bug xBrowse ToExcel()

new bug xBrowse ToExcel()

Postby MOISES » Wed Jan 01, 2020 1: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: Select all  Expand view
                 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
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: new bug xBrowse ToExcel()

Postby driessen » Wed Jan 01, 2020 6: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: new bug xBrowse ToExcel()

Postby MOISES » Wed Jan 01, 2020 6: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
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 104 guests