Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing blank lines from a .doc
Message
From
02/08/2010 05:49:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01474429
Message ID:
01474851
Views:
47
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
Previous
Reply
Map
View

Click here to load this message in the networking platform