VBA Cross Reference Dialog values not changing - .Referencekind = wdNumberFullContext RRS feed

  • Question

  • Hi, in Word 2016, I need to open a Cross Reference Dialog with the Defaults set to 'Header' and 'Heading Number (full context)'
    The macro below should work, but it does not

    Header does get set, but 'Heading Number (full context)' does not, is there an issue with settings Reference Kind?

    Sub Test()
    With Dialogs(wdDialogInsertCrossReference)
    .ReferenceType = "Heading"
    .Referencekind = wdNumberFullContext
    End With

    Please any help would be much appreciated . . .


    Wednesday, October 4, 2017 10:21 AM

All replies