#1
|
|||
|
|||
Selecting All of a Style and Alphabetizing
I work for an organization that publishes books. I have started to learn a bit about using macros in Word and incorporating them into our processes.
One of the bugaboos my colleagues have is failing to alphabetize reference lists. The book will then jump to layout in InDesign and our proofer will have to make changes to the layout to alphabetize the references. We assign Word styles to all sections/chapters in our book. In this case, "reference" is the style we use for all references. That style does not appear anywhere else. I realize that Word has a very easy way to alphabetize references or any sort of listing for that matter (Home -> Paragraph -> Sort). The issue I'm having is with automation of a macro. I would like to add something to a large macro I've created that will find and select all content with the reference style and then alphabetize it. Basically, I want a macro that identifies the reference list in the document and alphabetizes it. Any help would be appreciated! |
#2
|
||||
|
||||
If it were me doing it, I would make a macro that follows this logic:
1. Create a TOC which would compile all those style instances 2, Break the field and sort the paragraphs
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word 2007: Unable to change character style, when using a linked Char/Para style format | Last Chance | Word | 3 | 06-09-2021 12:52 PM |
Char style and footnotes reference style superscript - applying character style removes superscript | RRB | Word | 2 | 06-02-2021 02:54 PM |
Alphabetizing a table across multiple pages | mbrightman | Word Tables | 2 | 01-21-2017 04:09 AM |
Problem when selecting a style in the styles list | patricebrel | Word | 2 | 01-09-2016 06:52 AM |
Use multiple style sets in the same Word document (depending on which section the style is in) | Ricyteach | Word VBA | 6 | 03-09-2015 07:11 PM |