Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    May 2002
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    cross reference default (Word 2000 SP3)

    I don't know if it is possible, but can you save me a lot of time and mouseclicks?

    I would like the default cross reference option for a 'Figure' or 'Table' cross reference to be "Label and figure only", not "entire caption". Each time I go into the cross-reference menu, or change the type of reference, the default automatically resets to "entire caption", which I have to change by selecting the drop down list and choosing the correct option.

    It's a small detail, but it would be nice to change. Any ideas?

  2. #2
    Star Lounger
    Join Date
    Mar 2001
    Location
    Cheltenham, Pennsylvania, USA
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: cross reference default (Word 2000 SP3)

    I also find that behavior a nuisance, so I wrote a macro with the defaults I most often use and assigned a button to run it . If you don't want to write a macro yourself, turn on macro recording and select your options.

  3. #3
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: cross reference default (Word 2000 SP3)

    I thought it should be possible to do something like...

    Public Sub InsertCrossReference()
    With Application.Dialogs(wdDialogInsertCrossReference)
    .ReferenceType = "Figure"
    .ReferenceKind = 2
    .Show
    End With
    End Sub

    but changing ReferenceType and ReferenceKind seems to have absolutely no effect. I have no idea why not!

    StuartR

  4. #4
    New Lounger
    Join Date
    May 2002
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: cross reference default (Word 2000 SP3)

    Thanks for the tip. I don't know VBA, so I tried using the macro recorder. The problem is in pausing the recorder to select the required reference. I can only record a macro that inserts a specific cross reference:

    Sub FigCross2()
    '
    ' FigCross2 Macro
    ' Macro recorded 27/03/2003 by Mark
    '
    Selection.InsertCrossReference ReferenceType:="Figure", ReferenceKind:= _
    wdOnlyLabelAndNumber, ReferenceItem:="1", InsertAsHyperlink:=True, _
    IncludePosition:=False
    End Sub

    The ReferenceItem:="1" is the part that selects the specific cross reference (in this case, the first one in the list). How can that be altered to accept a mouse selection from the list (or even a numberical keypad selection)?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •