Foxpro 5.0 : Excel Automation : change a memory variable to a row number  
Author Message
c y h





PostPosted: Visual FoxPro General, Foxpro 5.0 : Excel Automation : change a memory variable to a row number Top



Visual FoxPro2  
 
 
CetinBasoz





PostPosted: Visual FoxPro General, Foxpro 5.0 : Excel Automation : change a memory variable to a row number Top

oSheet("10:" + ltrim(str(m.mrow)) ).NumberFormatLocal = "#,##0.00_)"

or:

oSheet( textmerge("10:<<m.mrow>>") ).NumberFormatLocal = "#,##0.00_)"

or one of other N ways...


 
 
c y h





PostPosted: Visual FoxPro General, Foxpro 5.0 : Excel Automation : change a memory variable to a row number Top


 
 
CetinBasoz





PostPosted: Visual FoxPro General, Foxpro 5.0 : Excel Automation : change a memory variable to a row number Top

For 1st one what does "are not O-kay" mean What is the error message (I assume you already corrected my typo of not having .rows after oSheet ( oSheet.rows( "10:" + m.mrows)... ) ).

For 2nd one, it's your fault not specifying VFP version you're using, not mine.