Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2019, 01:17 AM
dsn dsn is offline Footnotes Windows 10 Footnotes Office 2016
Novice
Footnotes
 
Join Date: May 2019
Posts: 1
dsn is on a distinguished road
Default Footnotes


Hi guys, I have a problem with footnotes in Word. I've been writing in Openoffice before, then i activated Word and when i opened a file created in Openoffice, all the footnotes were messed up. They should be this little numbers in the upper corner of a word, but they are the size (and font) of a regular text (like this: example3, instead of example*) Any way to fix it?
Reply With Quote
  #2  
Old 05-26-2019, 03:07 AM
gmayor's Avatar
gmayor gmayor is offline Footnotes Windows 10 Footnotes Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,105
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Without seeing the document and only a single example to work with, it is hard to judge, but the following macro should help fix any that match your example.

Code:
Sub AddSuperscript()
Const strFind As String = "[a-z][0-9]{1,}>"
Dim orng As Range
    Set orng = ActiveDocument.Range
    With orng.Find
        Do While .Execute(FindText:=strFind, MatchWildcards:=True)
            orng.Start = orng.Start + 1
            orng.Select: DoEvents
            If MsgBox("Replace " & orng.Text, vbYesNo) = vbYes Then
                orng.Font.Superscript = True
            End If
            orng.Collapse 0
        Loop
    End With
    Set orng = Nothing
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 05-27-2019, 04:20 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Footnotes Windows 10 Footnotes Office 2019
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

I believe that the underlying issue here is that OpenOffice Writer lets you have one format for the footnote numbers in the text and another format for the footnote numbers in the footnote area. Word is limited in this respect, as it uses the same formatting for both (unless you intervene with a macro).
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Footnotes How to change superscript footnotes into genuine Word footnotes Knounte29 Word VBA 41 01-16-2020 04:48 PM
creating manuscript w/footnotes from separate documents containing chapters with footnotes-word 2010 Dottie Publisher 0 02-19-2017 03:18 PM
Footnotes Footnotes christal Word 3 04-30-2016 11:09 PM
Convert manual cross references in footnotes to other footnotes to automatic cross references ghumdinger Word VBA 7 11-20-2014 11:47 PM
Footnotes Keep with next and footnotes nfactor13 Word 1 05-15-2011 02:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft