Cross Refernce: "Insert reference to" attribute

T

Tallowood

When selecting different types of cross references, the "Insert Reference
Type" always goes to "Entire Caption" for Tables and figures. I alway use
"Only Lable and Number". Is there any way of setting this as an option to
come up by default.
 
D

DeanH

I asked the same question a few months ago and got the following macros,
courtesy of Macropod (Word MVP).

Sub InsertFigureXRef()
Dim I As Integer
With Dialogs(wdDialogInsertCrossReference)
For I = 1 To 8
SendKeys "{DOWN}"
Next
SendKeys "{UP}{TAB}:"
For I = 1 To 5
SendKeys "{UP}"
Next
SendKeys "{DOWN}{TAB}{TAB} %v": .Show
End With
End Sub

Sub InsertTableXRef()
Dim I As Integer
With Dialogs(wdDialogInsertCrossReference)
For I = 1 To 8
SendKeys "{DOWN}"
Next
SendKeys "{TAB}:"
For I = 1 To 5
SendKeys "{UP}"
Next
SendKeys "{DOWN}{TAB}{TAB} %v": .Show
End With
End Sub

These two macros I have attached to two icons I have designed but you can
assign a keyboard short cut or just add them to a menu somewhere.

Hope this helps
DeanH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top