Code to remove 'Enter' Symbols

M

Mark

I recieve Text files that come from a HTML form and they are delimited by
comma. One of the fields allows people to paste in account information that
has a set format and adds in TABs and Line breaks or the symbols you get get
when you hit enter.

I need to scrub this out of file. Is there any little script that I can run
in Word that would remove these?

THanks!
Mark
 
J

Jay Freedman

Mark said:
I recieve Text files that come from a HTML form and they are
delimited by comma. One of the fields allows people to paste in
account information that has a set format and adds in TABs and Line
breaks or the symbols you get get when you hit enter.

I need to scrub this out of file. Is there any little script that I
can run in Word that would remove these?

THanks!
Mark

See http://www.word.mvps.org/FAQs/Formatting/CleanWebText.htm.

Once you know exactly what characters you need to delete or replace, you can
record a macro to do it with one click. Then you may want to read
http://www.word.mvps.org/FAQs/MacrosVBA/ModifyRecordedMacro.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top