#1
|
|||
|
|||
Changing word order
Hello everyone,
I have different Word files with over 3000 pages. The problem I'm having is that on every 2 pages there is a heading - defined in word as Heading 1 (Using styles) - where the words are in a wrong order. All headings have the same format consisting of a word then a word between brackets followed by a number. F.e Word1 (Word2) 123. Is there a macro where i could change all headings to this format: Word2 (Word1) 123? If you have any questions don't hesitate to ask them. I'll try to explain it more clearly. Kind regards, Lauren Van Roy |
#2
|
||||
|
||||
Is there a reason why you cannot use the replace function. Replace
(Word1) (\(Word2\)) ([0-9]{1}) with \2 \1 \3 with the wildcard option set? If you want to batch process several documents then see https://www.gmayor.com/document_batch_processes.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Quote:
Kind regards, Qontrax |
Tags |
headings, styles, word order |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I paste items in the order they were copied, not the order the are listed? | manish500 | Word | 6 | 07-25-2018 12:07 AM |
Changing the order of endnotes in a word document | Skravletattus | Word | 2 | 04-28-2017 01:04 PM |
Changing order of animations in slide show mode | mrbutler88 | PowerPoint | 1 | 02-14-2015 11:57 PM |
Slides suddenly changing order | jshepnz | PowerPoint | 0 | 08-11-2013 04:07 PM |
Changing Order of AutoText Fields | Bill Bisco | Word | 1 | 08-30-2012 02:06 PM |