![]() |
#24
|
|||
|
|||
![]()
(@KimJongUndo: I am selecting only the footnote text.)
@macropod: Thank you. I changed both: .Text = "\[([0-9]{1,})\]" to: .Text = "([0-9]{1,})" and .Text = "[" & i & "]" to .Text = i But I still got the Run-time error '13': Type mismatch, with debugging highlighting in yellow: k = .Paragraphs(1).Range.Words(1) - 1 So I ran the advanced find and replace recommended by KimJongUndo and converted all nonsuperscript raised footnote callout numbers to nonraised superscripts (which yielded a lot of changes). Then reran the macro (still with the 2 above edits), and still got the same error with same line highlighted by debugger. I'm not an expert in macros. Did I do the edits correctly? |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Carnegie | Word | 14 | 03-13-2017 01:31 AM |
Convert manual cross references in footnotes to other footnotes to automatic cross references | ghumdinger | Word VBA | 7 | 11-20-2014 11:47 PM |
![]() |
glggluig | Word | 1 | 08-10-2014 04:09 AM |
![]() |
mythander889 | Word | 12 | 09-11-2012 03:58 PM |
![]() |
gib65 | Word | 2 | 08-15-2011 01:46 PM |