Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing blank lines from a .doc
Message
De
02/08/2010 05:49:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01474429
Message ID:
01474851
Vues:
46
Hi Moises,

UPDATE:
forget about this. I just tested it a second time and it didn't work :-((

how about something like this, assuming c1 would be gathered from clipboard instead of manual filling as in this example:
c1= [aaaaaaaaaaaaaaaaaaaaaaaaa] ;
  + CHR(13) + CHR(10) ;
  + [bbbbbbbbbbbbbbbbbbbbbbbbb] ;
  + CHR(13) + CHR(10) ;
  + [ccccccccccccccccccccccccc] ;
  + CHR(13) + CHR(10) ;
  + [ddddddddddddddddddddddddd]

?c1

TEXT TO c2 TEXTMERGE NOSHOW PRETEXT 4
<<c1>>
ENDTEXT 

CLEAR 
?c2
>Hi
>
>How can I remove blank lines from a Word document by using FILEtoSTR() or other funcions ?
>
>
>Moises
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform