![]() |
|
#1
|
||||
|
||||
![]()
Maybe try this modification
Code:
Sub ReconfigFootnotes() Dim FtNt As Footnote, Rng As Range With ActiveDocument For Each FtNt In .Footnotes Set Rng = FtNt.Reference With Rng If Rng.Paragraphs(1).LeftIndent = 0 Then 'Delete spaces etc. Do While .Characters.First.Previous Like "[ " & Chr(160) & "]" .Characters.First.Previous.Text = vbNullString Loop 'Invert ref. number and punctuation Do While Not .Characters.First.Previous Like "[0-9A-Za-z]" And Not .Characters.First.Previous Like "‹" And Not .Characters.First.Previous Like "«" .InsertAfter .Characters.First.Previous .Characters.First.Previous.Delete Loop End If End With Next End With End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#2
|
|||
|
|||
![]()
Many thanks, Guessed! That is simple and perfect.
Now I'm trying to devise a macro to convert all strings in italics to an italics style. But all I can get is a very long and clumsy code sequence. Is there a simple way to do it? |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
emblaw | Word | 4 | 12-08-2020 06:23 AM |
![]() |
KDuncan | Word | 6 | 04-28-2020 12:14 AM |
![]() |
michaelbriordan | Word | 3 | 06-17-2015 10:12 AM |
![]() |
bearligirl89 | Word | 3 | 11-20-2013 03:33 PM |
![]() |
jimgard | Word | 1 | 07-23-2013 11:47 AM |