![]() |
#3
|
||||
|
||||
![]()
Maybe something like
Code:
Sub Foot_EndNotesToText() Dim oFNote As Footnote Dim oENote As EndNote Dim iRef As Integer Dim sRef As String Dim orng As Range For Each oFNote In ActiveDocument.Footnotes With oFNote iRef = .Index sRef = .Range.Text Set orng = .Reference .Delete orng.Text = "(reference " & iRef & ") (" & sRef & ")" End With Next oFNote For Each oENote In ActiveDocument.Endnotes With oENote iRef = .Index sRef = .Range.Text Set orng = .Reference .Delete orng.Text = "(reference " & iRef & ") (" & sRef & ")" End With Next oENote End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Cobb78 | Word | 5 | 07-11-2016 06:23 AM |
![]() |
gn4619 | Word | 4 | 10-22-2015 08:01 AM |
![]() |
ndnd | Word VBA | 10 | 01-06-2015 01:47 PM |
![]() |
rekent | Word VBA | 2 | 05-13-2014 06:53 AM |
![]() |
kerstin | Word | 2 | 06-26-2011 11:23 PM |