?check value between two headlines not match=delete

  • Thread starter Frank Isernhagen via OfficeKB.com
  • Start date
F

Frank Isernhagen via OfficeKB.com

Hllo Word Champs

me again, sorry - I promise I will visit a CTEC soon...

Is it possible to check a value between two headlines (recurring task, changing headline, about 100 in the document) and if the special value does not exist = delete all between

Sample:

Should look like:
=================
Headline (style:H1)
anyword anyword
anyword anyword anyword anyword
URL

Headline
....

WHEN:
there is no URL or description between headline and url, the complete paragraph should be deleted

Is that possible?

Notice:
Must use wildcarts

Thx for any hint

*****************************************
* This message was posted via http://www.officekb.com
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=b74bfe2db599413d8271fc36f9a41f43
*****************************************
 
S

Suzanne S. Barnhill

If you're looking for a VBA solution (as is suggested by your previous
posts), you should post in one of the developer (word.vba) NGs instead of
this one, which is for new users.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Frank Isernhagen via OfficeKB.com said:
Hllo Word Champs

me again, sorry - I promise I will visit a CTEC soon...

Is it possible to check a value between two headlines (recurring task,
changing headline, about 100 in the document) and if the special value does
not exist = delete all between
 
F

Frank via OfficeKB.com

I am a new user - but Microsoft makes it easy to learn fast :)
This is all my first day with writing makros or ding anything else than writing a letter with Word.

Thanks for your hint - I will it try there again.

*****************************************
* A copy of the whole thread can be found at:
* http://www.officekb.com/uwe/Forum.aspx/ms-word/5753
*
* Report spam or abuse by clicking the following URL:
* http://www.officekb.com/Uwe/Abuse.aspx?aid=db201ab4d74248ae84300824436cdf80
*****************************************
 

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