I Can´t set autoformat

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
lmorales
Chile
Posts: 113
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

I Can´t set autoformat

Post by lmorales » 17 Oct 2006, 22:44

 Posted by:  Leonardo Morales V. 

Hi all,

i´m try to set cells numberformat, but doesn´t work.
the code is:

Call lvFormato.SetString( "G" ) ! General
Call oXRange.PropSetNumberFormat( lvFormato )
Call lvCell.SetString( sValorString )

When sValorString = '09-04', Excel writes 04-Sep, but my data is string.

Any ideas, please.

thanxs.

Leonardo.

lmorales
Chile
Posts: 113
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

Re: I Can´t set autoformat

Post by lmorales » 17 Oct 2006, 22:45

 Posted by:  Leonardo Morales V. 

Sorry, i´m mistake. Is NumberFormat, not AutoFormat

lmorales
Chile
Posts: 113
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

Re: I Can´t set autoformat

Post by lmorales » 17 Oct 2006, 22:50

 Posted by:  Leonardo Morales V. 


thanks

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests