Output Formatted Text
Posted by Carl A on August 13, 2001 5:56 AM
I have a rather large spreadsheet which I need to convert to formatted text and save to an ascii text file. I have included a small example of what I am trying to accomplish:
EXAMPLE OF SPREADSHEET:
Type of Animal Name Color Sex Weight
cat kitty grey male 15
dog doggie brown female 50
rabbit bunny white male 10
EXAMPLE OF FORMATTED TEXT:
I HAVE A "CAT" HIS NAME IS "KITTY"
KITTY IS "GREY" IN COLOR AND WEIGHS 15 LBS
I HAVE A "DOG" HER NAME IS "DOGGIE"
DOGGIE IS "BROWN" IN COLOR AND WEIGHS 50 LBS
I HAVE A "RABBIT" HIS NAME IS "BUNNY"
BUNNY IS "WHITE" IN COLOR AND WEIGHS 10 LBS
This is a very simplified example of what I am trying to accomplish. Case sensitivity is not important, however, the quotation marks are. Any help you can give me in trying to figure this out would be greatly appreciated.