![]() |
|
#1
|
|||
|
|||
![]()
Thanks! You are, of course, right! Thing is, I tried the macro using some actual titles, and some of them were not properly formatted. Taking a close look at them I noticed there were apostrophes or exclamation points in them. For some reason, the macro skips those titles, as in:
46. First Magazine’s Entry 1.8, April 1960 47. Second Magazine 36, April 1960 1144. First Book, September 1981 1145. Second Book, September 1981 Is there a way for the macro to ignore apostrophes, exclamation points, and so on, so that all titles get italics? There are also some 300 titles that are not followed by a comma or a number, as in: 74. Mindscapes: Poems for the Real World Richard Peck, ed. | Dell Publishing Company: New York, NY | 1972 After running the macro I get this: 74. Mindscapes: Poems for the Real World Richard Peck, ed. | Dell Publishing Company: New York, NY | 1972 The title line is followed by the editor's name in the next line. Both lines are separated by a paragraph break. Could this be used in the macro somehow so that when there's no comma and no number after the title--but there's a paragraph break--then the italics are not used after the title? |
#2
|
||||
|
||||
![]()
You could replace:
[ a-zA-Z]@[,0-9] with: [0-9].[!,0-9]@[,0-9^t^l^13] With this expression, the formatting will stop before a comma, number, tab, manual line break or paragraph break - whichever comes first.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A macro to find interjections from a list and italicize them | FabioDD | Word VBA | 8 | 03-15-2022 06:28 AM |
![]() |
dylansmith | Word | 2 | 05-11-2020 03:58 PM |
How can I change the order of book pages of an existing book to left-to-right instead of right to le | Iris12 | Publisher | 0 | 02-06-2018 09:37 AM |
Digital Magazine Publications! | epublisherWorld1 | Publisher | 0 | 08-28-2017 03:49 AM |
![]() |
Nasser | Word | 4 | 04-21-2010 02:41 PM |