macro: remove words from doc

S

sals

Hi,


I combined many files together into one large doc and at the end of
each file, there is a phrase "save as html" that i'm trying to remove
from the entire document.

should I go to that location (end of doc) in each doc and remove the
phrase before combing the docs into one huge doc or

should i be able to do a search for the phrase and take it out.

how would you go about it, and does any one have codes for this?

thanks,

S
 
A

Anne Troy

You don't need code. Simply hit Ctrl+H, and put the phrase in the FIND WHAT
box. Make sure you include any preceeding spaces you want to remove along
with it. Don't put anything in the replace with box. Hit replace all.
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->
Hope this helps!
Anne Troy (better known as Dreamboat)
Web: www.VBAExpress.com
<-*-><-*-><-*-><-*-><-*-><-*-><-*-><-*->
 
D

Doug Robbins - Word MVP

Use Edit>Replace on the combined document

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

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