#1
|
|||
|
|||
Help with Footnotes! Superscript and Numbering Issues
I was working on a long, 80-page document with footnotes, something very important.
Things were acting funny, and I saved the document, but after, all of my footnotes became text size and shifted left 2 places, and where the footnote was before, there is a superscript “1”. I can perhaps make the footnotes superscript (but how?), move them right 2 places, and delete the “1” (which seem not to be attached to a footnote). But is there another way? Thanks you for any help! Mitavec |
#2
|
||||
|
||||
Your description suggests the document has acquired some of corruption. Corrupt documents can often be 'repaired' by inserting a new, empty, paragraph at the very end, copying everything except that new paragraph to a new document based on the same template (headers & footers may need to be copied separately), closing the old document and saving the new one over it.
That said, your description of what's happened with the footnotes suggests there may be more to this than just that. However, without actually seeing the problem document, it can be difficult for anyone to diagnose the issue. Can you attach a document to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Help!
Dear Paul (and anyone else who can help)!
I tried your suggestion of copying and pasting into a new document. But I am unable to copy the entire 77 page document - I get the message when coping: "You cannot put drawing objects into a text box, callout, comment, footnote, or endnote." Attached is short paragraph from this document. As you can see, there are superscript "1"s that are apparently unconnected to footnotes. And imbedded in the word previous, each apparently moved 2 spaces over, are the real footnote numbers, which have been converted to regular size from superscript. Do you have any suggestion on what I can do to fix this? I guess that I can try copying things page by page (which seems to work) to a new document, then deleting the 1s, and moving the footnote numbers 2 spaces over, and converting these somehow to superscript. But this would take days! Thank you for any advice! |
#4
|
||||
|
||||
Based on your attachment, the following macro should be enough to repair the footnotes and their references. That said, your attachment seems to have other issues as well. For example, the body text has the 'Header' Style applied, but that's been completely overwritten with a different set of formatting.
Code:
Sub RepairFootnotes() Application.ScreenUpdating = False Dim FtNt As Footnote, Rng As Range With ActiveDocument Application.OrganizerCopy Source:=.AttachedTemplate.FullName, _ Destination:=.FullName, Name:=.Styles(wdStyleFootnoteReference).NameLocal, Object:=wdOrganizerObjectStyles Application.OrganizerCopy Source:=.AttachedTemplate.FullName, _ Destination:=.FullName, Name:=.Styles(wdStyleFootnoteText).NameLocal, Object:=wdOrganizerObjectStyles For Each FtNt In .Footnotes With FtNt With .Reference Set Rng = .Duplicate Rng.Collapse wdCollapseStart Do While .Characters.Last.Next.Style <> wdStyleFootnoteReference Rng.FormattedText = .Characters.Last.Next.FormattedText Rng.Collapse wdCollapseEnd .Characters.Last.Next.Text = "" Loop .Characters.Last.Next.Text = "" FtNt.Reference.Style = wdStyleFootnoteReference End With With .Range .Style = wdStyleFootnoteText .Font.Reset .ParagraphFormat.Reset .Characters.First.Style = wdStyleFootnoteReference End With End With Next End With Application.ScreenUpdating = True End Sub For Mac macro installation & usage instructions, see: Word:mac - Install a Macro
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Paul,
I got another error message: "Can't execute code in break mode" |
#6
|
||||
|
||||
In the VBA Editor, try clicking on Run>Reset.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
I keep getting the message attached.
|
#8
|
||||
|
||||
Given that there is no mention of "Footnote Reference" in the code, I can't see where that would be coming from.
Try this: • delete the two wrapped code lines beginning with 'Application.OrganizerCopy'. • create a new document with a footnote, then type some text into the footnote. Take note of what Style names Word applies to that text and to the footnote reference at the start of the footnote. • replace all the remaining inctances of wdStyleFootnoteText and wdStyleFootnoteReference with the names assigned to those Styles in your new document. • run the macro on your damaged document.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
Paul, Don't forget that I am a neophyte when it comes to macros, etc.
I did not know how to find what Style names Word applies to the text and to the footnote reference at the start of the footnote, except to say that all appeared as Calibri 12 in the new document, both text and foot note. I took a screen shot of the footnote Style if that helps. Could you please edit the Macro if this is enough to work with? If we can get this work I will be extremely grateful - I have 1,000 footnotes! Thank you! Mitavec / Mickey |
#10
|
||||
|
||||
Your screenshot clearly shows that your document contains both the "Footnote Reference" and "Footnote Text" Styles, so I cannot understand how or why you'd get the error message reported in post #7 - unless that, too, is a result of your document's corruption. Are you still working with the original document, or with one created via the process I outlined in post #2?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#11
|
|||
|
|||
I am using a copy of a document, but it is the same as the original.
Do you have any idea how to proceed? |
#12
|
||||
|
||||
A simple copy of the document won't suffice. You must exclude the corrupted document body's final paragraph break; otherwise you'll end up copying/pasting a lot of corrupted metadata.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#13
|
|||
|
|||
Help Please!
Hi Paul,
I appreciate your help so far, and I am sorry to keep bothering you, but I am really at a loss about what to do. If you look at the attachment at post 3 you can refamiliarize yourself with the footnote problem. I can get none of your suggestions or macros to work, and I just spent an hour redoing several pages manually - moving the numbered full-size footnote 2 spaces over, then deleting the superscript "1"s. But I have 77 pages and over 1,000 footnotes, so this will take forever! And the footnotes are still full-size. Is there anything that occurs to you now that did not before? Thanks, Mickey / Mitavec |
#14
|
||||
|
||||
The macro I posted will do the job quite well, but you need to start with a document created as per post #2. So far, I've seen nothing to indicate that you've done exactly as instructed there.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change superscript footnotes into genuine Word footnotes | Knounte29 | Word VBA | 41 | 01-16-2020 04:48 PM |
Formatting issues (numbering and other issues) in big document. Possibly corrupted. Can anyone help? | Ida | Word | 9 | 07-26-2018 10:22 AM |
Footnotes/Citations not superscript | wordquery | Word | 3 | 04-12-2017 01:55 PM |
How can I get line numbering in footnotes | wordhelp321 | Word | 1 | 05-19-2014 03:12 PM |
Numbering issues in Word | RickMayo | Word | 2 | 01-21-2013 12:16 PM |