View Single Post
 
Old 09-25-2021, 09:19 AM
TheBigBoss TheBigBoss is offline Windows 7 32bit Office 2010 32bit
Advanced Beginner
 
Join Date: Dec 2016
Posts: 56
TheBigBoss is on a distinguished road
Default Add footnote in a bookmark

Hi there

Trying to add a footnote reference in the bookmark [SymbolAst]
I basically have three consecutive bookmarksm: [SymbolA][SymbolB][SymbolAst]

This code will add the asterisk but before SymbolB?
I have tried r.End and r.End-1 also

Code:
If CheckBox13 = True Then
       If BookmarkExists("SymbolAst") Then
            Dim r As Range
            Set r = ActiveDocument.Bookmarks("SymbolAst").Range
            ActiveDocument.Footnotes.Add Range:=r, _
 Text:=TextBox4.Value, _
 Reference:="*"
       Else
           MsgBox "Nope"
        End If
    End If
Thanks
Reply With Quote