Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Field and Need For a Carriage Return
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00875990
Message ID:
00875991
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>I am creating an Excel Spreadsheet using VFP Automation.
>I would like to place a text string in a Cell, but I want to control where the string breaks. So if I send "Hello There Bret" I want the Cell to show:
>
>Hello
>There
>Bret
>
>But I cannot figure out how to send a set of characters to Excel that would be interpreted as a carriage return. If I send CHR(13) then it just put a non-printable character in the string when I bring up the Excel Spreadsheet.
>
>Any help would be appreciated.


Use CHR(10) instead of CHR(13)
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform