I'm trying to write a macro to set up an outline numbering scheme for a document with multiple heading levels. The first-level heading style ("ch") represents a chapter title with a single arabic chapter number (like "1. Introduction").
The wrinkle is that I also need an auxiliary chapter head style ("aux") for things like the TOC and Index headings. This has the same typography as the normal chapter heads, but without the auto-number. If I define "aux" with .BaseStyle = "ch" and then incorporate "ch" in an outline-numbered list template, then "aux" automatically inherits the numbering as well. Is there a way to override that auto-numbering property and detach the "aux" style from the list template?
I've been searching Word VBA Help, but can't find a way to do it. The nearest thing I've found is the .LinkToListTemplate method, but it requires a ListTemplate object as an argument. There doesn't seem to be a constant like "wdListTemplateNone" or any other way of specifying "link to no list template at all." Does anyone know of a way to do this?
The wrinkle is that I also need an auxiliary chapter head style ("aux") for things like the TOC and Index headings. This has the same typography as the normal chapter heads, but without the auto-number. If I define "aux" with .BaseStyle = "ch" and then incorporate "ch" in an outline-numbered list template, then "aux" automatically inherits the numbering as well. Is there a way to override that auto-numbering property and detach the "aux" style from the list template?
I've been searching Word VBA Help, but can't find a way to do it. The nearest thing I've found is the .LinkToListTemplate method, but it requires a ListTemplate object as an argument. There doesn't seem to be a constant like "wdListTemplateNone" or any other way of specifying "link to no list template at all." Does anyone know of a way to do this?