![]() |
#1
|
|||
|
|||
![]()
Hi, I’m writing a script that requires checking if the blinking cursor in the body of the Word doc is current positioned directly in front of a footnote reference (e.g., a superscript that says 1). Any help would be much appreciated!
|
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Thank you so much!!
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ramses505 | Word VBA | 6 | 09-21-2023 12:10 AM |
Cursor not showing up when running footnote macro | brent chadwick | Word VBA | 2 | 04-09-2018 05:42 PM |
![]() |
gn4619 | Word | 4 | 10-22-2015 08:01 AM |
Get footnote reference | GLENCOE | Word VBA | 1 | 04-07-2015 04:08 AM |
Text in front of cursor is being deleted | WhatNow | Word | 2 | 04-29-2012 06:59 PM |