B
Brian Murphy
I have some code that works fine in Word 2003 for displaying notorious
Insert Cross Reference dialog. This is to display the dialog so as to
insert a cross reference to a Figure caption.
With Dialogs(wdDialogInsertCrossReference)
SendKeys "%t{home}ff"
SendKeys "{enter}"
SendKeys "%r"
SendKeys "{down}"
SendKeys "{enter}"
SendKeys "%w" 'move to list of references
rtn = .Display
End With
This code does not work in Word 2007. In Word 2003 the "ff" moves the
selection first to Footnote, and then to Figure. But in Word 2007 the
second "f" does not get done, and the selection is stuck on Footnote.
I have spent hours trying find something that works, but nothing does.
Does anyone know how to get this to work?
Thanks,
Brian Murphy
Insert Cross Reference dialog. This is to display the dialog so as to
insert a cross reference to a Figure caption.
With Dialogs(wdDialogInsertCrossReference)
SendKeys "%t{home}ff"
SendKeys "{enter}"
SendKeys "%r"
SendKeys "{down}"
SendKeys "{enter}"
SendKeys "%w" 'move to list of references
rtn = .Display
End With
This code does not work in Word 2007. In Word 2003 the "ff" moves the
selection first to Footnote, and then to Figure. But in Word 2007 the
second "f" does not get done, and the selection is stuck on Footnote.
I have spent hours trying find something that works, but nothing does.
Does anyone know how to get this to work?
Thanks,
Brian Murphy