Hello, I’m trying to create a macro in MS Word that will input the footnote number and then call on the ENFindCitations command (or whatever it’s called) to open the Find Citation window. I’ve done it numerous times before but for some reason, just can’t remember how it’s done (or perhaps, something’s changed?).
So, let’s start with the software:
Windows 10 OS
Microsoft365 (MS Word, fully updated).
EndNote 21.4 (Build 18113).
The error I’m getting is: Run-time error. Can’t run the specified macro.
Macro as I currently have it:
Sub FNandEN()
'
' FNandEN Macro
'
'
With Selection
With .FootnoteOptions
.Location = wdBottomOfPage
.NumberingRule = wdRestartContinuous
.StartingNumber = 1
.NumberStyle = wdNoteNumberStyleArabic
.LayoutColumns = 0
End With
.Footnotes.Add Range:=Selection.Range, Reference:=""
End With
Application.Run ENFindCitations
End Sub