Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2021, 12:50 PM
Billyocean Billyocean is offline Selecting All of a Style and Alphabetizing Windows 10 Selecting All of a Style and Alphabetizing Office 2019
Novice
Selecting All of a Style and Alphabetizing
 
Join Date: Jun 2021
Posts: 1
Billyocean is on a distinguished road
Default 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!
Reply With Quote
  #2  
Old 06-30-2021, 04:16 PM
Guessed's Avatar
Guessed Guessed is offline Selecting All of a Style and Alphabetizing Windows 10 Selecting All of a Style and Alphabetizing Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting All of a Style and Alphabetizing 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
Selecting All of a Style and Alphabetizing Char style and footnotes reference style superscript - applying character style removes superscript RRB Word 2 06-02-2021 02:54 PM
Selecting All of a Style and Alphabetizing 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
Selecting All of a Style and Alphabetizing 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft