Error in txbrowse:ToExcel

Error in txbrowse:ToExcel

Postby Franklin Demont » Thu Jul 10, 2014 9:43 am

Hello,

Without changing the code the last month's , one off mine custumers reports a error the last days in xbrowse:toexcel :

oWin := oExcel:ActiveWindow
oWin:SplitRow := 1
oWin:FreezePanes := .t. <--- Gives error

Error description: Error Excel.Application:ACTIVEWINDOW/3 DISP_E_MEMBERNOTFOUND: _FREEZEPANES
Args:
[ 1] = L .T.

It seems that oWin has no data FreezePanels. Can it depend from the excel version ?

Frank
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Re: Error in txbrowse:ToExcel

Postby nageswaragunupudi » Fri Jul 11, 2014 1:52 am

May we know the Excel version of your customer?
The code works well from version 2003 onwards.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error in txbrowse:ToExcel

Postby Franklin Demont » Mon Jul 28, 2014 10:45 am

nageswaragunupudi wrote:May we know the Excel version of your customer?
The code works well from version 2003 onwards.


From customer :
newest version Office 2013

I will try to omit the line :

oWin:FreezePanes := .t. <--- Gives error

Or , can it be changed in another line ?

Frank
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Re: Error in txbrowse:ToExcel

Postby nageswaragunupudi » Mon Jul 28, 2014 1:42 pm

The code is correct and I can not suggest any alternative.
Also I am not able explain why the user should get this error.
Have you tested on your own PCs? Do you yourself face this problem?

ok. For the user you may try deleting this line or keep it in TRY/CATCH construct.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

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