Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep A=1.00 not changed to A=1# ?
Message
De
10/07/2006 06:57:07
 
 
À
06/07/2006 04:39:57
Information générale
Forum:
Visual Basic
Catégorie:
VBA
Divers
Thread ID:
01133741
Message ID:
01134883
Vues:
22
>I really don't understand the need to do it but If you want to achieve it >for display purpose. You can have A assigned as 1.00 and then make use of >Format functions. examples stated below:

>' User-defined numeric formats.
>msgbox formatnumber(a,3,0) 'Returns 1.000
>msgbox formatcurrency(a,3,0) 'Returns $1.000 depending upon regional >settings
My purpose is to fix cell format of Excel sheet with a initial value,
now i understand it is not a right way.But anyway,getting a workaround from
you,thanks alot.
Steven
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform