Pull Out One Style

R

rothrock42

I've got a document where I would like to pull out the title lines to
create a new document.

Currently every title has a consistent style applied to it.
 
C

Clive Huggan

Dear [whoever],

You'll need to describe what you want in more detail. Include your Mac OS
and Word version too. Tell us exactly, and don't spare the detail. People
here always go the extra yards to help, but they need to understand the
question first.

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================
 
B

Beth Rosengard

I know someone will come along with something easier/faster than this (like
a macro) but ...

Make a copy of your document.

Bring up the Find/Replace dialog from the Edit menu and click the arrow at
the bottom left to expand it.

Leave the Find What pane empty but while the cursor is still in it, click
the Format button and then Style. Navigate in the Style window to any of
the *other* styles in your document, say Body Text or Normal. Select it and
click OK.

Leave the Replace With pane empty.

Now click on Replace All.

If you chose Body Text then everything formatted in that style will be gone
from the document.

You could then repeat this for all the other styles *except* the one that
you want to keep. When you're done, you'll have only the title lines left.

If you have a lot of styles, this could take a while :). Like I said, this
can't be the best way, but it's the one that came to mind.

--
***Please always reply to the newsgroup!***

Beth Rosengard
MacOffice MVP

Mac Word FAQ: <http://word.mvps.org/Mac/WordMacHome.html>
 
C

Clive Huggan

How did you infer all this from such a cryptic question, Beth? It can't
just be female intuition. Ah, heaps of talent maybe. I dips me lid...
;-)

CH
===
 
C

CyberTaz

I'm interpreting the post a little differently - Do you want to copy the
headings formatted with a certain Style and paste *only* them into a new
document, similar to a separate table of contents?

If that's what you mean, use the Find feature as Beth suggested, typing
nothing into the Find What: field, check the box to Highlight all items
found in: Main Document & click the button to expand the dialog box. Then
click the Format button at the bottom, select Style & pick the Style of your
headings.

Once they're found, close the dialog box, Copy, create a new blank doc,
Paste & Save.

HTH |:>)
Bob Jones
MVP Office:Mac
 
B

Beth Rosengard

Cool! I knew there must be an easier way to do it but I never used (or even
noticed) the Highlight All Items check box (especially since I usually click
on Edit>Replace not Edit>Find!). But if I *had* realized it existed, I
never would have thought it would work like this. In fact, it makes no
semantic sense: on the one hand you're saying "highlight everything" and on
the other you're saying "find this particular style". They seem like
contradictory commands ­ certainly NOT intuitive :).

Anyway, thanks for the nifty trick, Bob!

Cheers,

Beth
 
J

John McGhie [MVP - Word and Word Macintosh]

See my earlier response to your previous thread...


I've got a document where I would like to pull out the title lines to
create a new document.

Currently every title has a consistent style applied to it.

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 
C

CyberTaz

Hi Beth -

Glad you found it useful, but apparently the OP had already posted another
thread ("Getting product titles out) where Daiya had offered the same
suggestion. Evidently, however, the issue is a bit more complex than this
posting suggests, and John is very much on top of it.
 
R

rothrock42

Thanks everyone. Yes I had posted this in an earlier thread, but kind
of hit up against a dead end there. I thought maybe restating the
question in a different simpler way would elicit different responses. I
will go check my other thread now.

All the find ideas work well, but I have several hundreds of these to
do. The macro also works, but I still have to invoke it each time. So
I'm looking for something that just does an entire document in one go.
 

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