Christopher Greaves

Contact Me

ON LINE STORE

ON LINE STORE

ON LINE STORE

ON LINE STORE

List Numbering in Microsoft Word

The Nature Of The Problem ; Reading List ; List Numbering Is Broken ; Terminology ; Styles ; What Have We Got Here? ; Isolating A List Template ; Manipulating List Templates ; Review Of Outline Numbered List Templates ; Locating List Templates ; Removing Named List Templates ; What About The Other Two List Galleries? ; Creating Extra List Templates ; List Templates In The Document ; Making A Fresh Start ; Purge List Gallery History ; Ferreting out List Templates ; Review Of List Templates ; An Experiment With Simple Numbered List Templates ; A Built-In Numbered Simple List ; Using Named List Templates ; Steps To Build A Named List Template ; Structures ; Assembling The Style ; Assembling A List Template ; Checking It Out ; Locating A Named List Template ; Deleting List Templates ; Paste To New Document

If you are interested in applications please visit www.VBASolutions.ca .

If you are interested in end-user macros please visit www.TorontoMacros.com .

An Experiment With Simple Numbered List Templates

We record creation of a new style CG_Bullet1 and, without venturing into the List Gallery, note that no numbering information is recorded.

We record creation of a new style CG_Bullet2 and, venturing into the List Gallery, note that the recorded code includes:

ActiveDocument.Styles("CG_Bullet2").LinkToListTemplate ListTemplate:= _

ListGalleries(wdBulletGallery).ListTemplates(1), ListLevelNumber:=1

As an end-user we are forced through the (List Gallery) Bullets and Numbering dialog to assign a bullet to the style.

We should be able, immediately, to paste those lines into our first macro and achieve a bulleted effect.

We do so, after deleting all traces of CG_Bullet1 from our document and attached template (Normal.dot), but after re-running the first macro, augmented with a link to the List template, and applying the style, we see no bullet.

More, we note (Format, Style, Modify, Format, Numbering) that the List Gallery shows no association.

Puzzled, we record a third macro, this time to modify the first style by using the List Gallery to implement the same bullet.

We compare the code generated from the 2nd macro and pasted, ineffectually into the first, with the code generated for the third macro:

ActiveDocument.Styles("CG_Bullet2").LinkToListTemplate ListTemplate:= _

ListGalleries(wdBulletGallery).ListTemplates(1), ListLevelNumber:=1

ActiveDocument.Styles("CG_Bullet1").LinkToListTemplate ListTemplate:= _

ListGalleries(wdBulletGallery).ListTemplates(1), ListLevelNumber:=1

We cannot explain the inability of the working code from our second macro to take efefct in our first macro.

A Built-In Numbered Simple List

Contact Me