Results 1 to 20 of 25

Thread: Activedocument.Footnotes.Reference.Text

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,899
    Location
    Little more experimenting -- simple doc with 6 footnotes

    ran little macro

    First msgbox was index (1-6) and the text of the correspnding footnote
    Second msg box was the square and the number 2 (the ascii value of the square)


    Option Explicit
    Sub ListFootnotes()
    Dim oFootnote As Footnote
    For Each oFootnote In ActiveDocument.Footnotes
       With oFootnote
          MsgBox .Index & " - " & .Range.Text
          'this displays box and '2' the value of the footnote marker
          MsgBox .Reference.Text & " -- " & Asc(.Reference.Text)
       End With
        Next
    End Sub

    Interesting

    Hope you get it figured out

    Paul
    Last edited by Aussiebear; 04-07-2023 at 01:45 PM. Reason: Adjusted the code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •