Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2021, 09:19 AM
TheBigBoss TheBigBoss is offline Add footnote in a bookmark Windows 7 32bit Add footnote in a bookmark Office 2010 32bit
Advanced Beginner
Add footnote in a bookmark
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add footnote in a bookmark Footnote references in the footnote section losing their style when cut+pasted from same doc emblaw Word 4 12-08-2020 06:23 AM
Add footnote in a bookmark Removing line break and indentation between footnote number and footnote text in Word jaanross Word 5 02-06-2020 12:04 AM
REf Fields show Bookmark whole cell when Bookmark is created by code. pmcpowell Word VBA 2 11-16-2019 07:05 PM
Add footnote in a bookmark Adding footnote number as part of footnote text NoCalScribe Word VBA 3 07-15-2019 07:20 PM
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:33 AM.


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