retour chariot

Forum destiné aux questions sur le développement : Formules, LotusScript, Java ...

retour chariot

Messagepar drill » 27 Jan 2004 à 13:59

bonjour,J'aimerais afficher une string qui contient un retour à la ligne....mais ça affiche chr(13) au lieu de faire le retour à la ligne...comment faut il faire?
drill
 

Re: retour chariot

Messagepar PhilG » 27 Jan 2004 à 14:10

Bonjour,il faut utiliser Chr$(10) par exempleMessagebox "Bonjour " + Chr$(10) + "Messieurs",0,"Essai"
PhilG
 

Re: retour chariot

Messagepar drill » 27 Jan 2004 à 14:16

oui mais si j'ai : " bonjour ! + chr$(10) + comment allez vous?"je ne voudrais pas découper ma string... comment faut il fauire?
drill
 

Re: retour chariot

Messagepar Ludo » 27 Jan 2004 à 14:40

strToto = " bonjour !" & chr$(10) & "comment allez vous?"Pour info ce n'est pas chr(13) mais chr$(13)chr$(13) = chr$(10)a+
Ludo
 


Retour vers Développement

cron