none
Microsoft Word, problem setting default in Cross Reference Dialog using .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
    .Show
    End With

    Please any help would be much appreciated . . .


    DaveM121

    Wednesday, October 4, 2017 10:23 AM