switch data between FWH and excel 2007

switch data between FWH and excel 2007

Postby damianodec » Thu Oct 09, 2008 2:06 pm

Hi
any example for problem on subject ?
I have this code:
DEFINE WINDOW m_get[40] // ownd
@ 0, 0 ACTIVEX m_get[41]; // oOWc
PROGID "OWC11.Spreadsheet"
m_get[44] = m_get[41]:GetProp( "ActiveWindow" )
OleSetProperty( m_get[44], "ColumnHeadings", 1, "Descrizione" )
OleSetProperty( m_get[44], "ColumnHeadings", 2, "Vendita Euro" )
OleSetProperty( m_get[44], "ColumnHeadings", 3, "Tot CM" )
OleSetProperty( m_get[44], "ColumnHeadings", 4, "% CM" )
OleSetProperty( m_get[44], "ColumnHeadings", 5, "Tot CU" )
OleSetProperty( m_get[44], "ColumnHeadings", 6, "% CU" )
m_get[42] = m_get[41]:GetProp( "ActiveSheet" ) //hsheet

and worked fine on excel 2003
but if I try that on excel 2007
get window error.
why?
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 60 guests