Thread
:
Check if Cursor is Currently in front of a Footnote Reference
View Single Post
10-25-2020, 03:07 PM
gmaxey
Windows 10
Office 2016
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,598
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oRng As Range
Set oRng = Selection.Range
If oRng.Characters.Last.Style = "Footnote Reference" Then Beep
lbl_Exit:
Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey