The information in this article applies to:
SYMPTOMS
The InsertTableOfAuthorities command does not add the [Table of Authorities
Categories] section to the WINWORD6.INI file. By contrast, this section is
added to the WINWORD6.INI file when you choose to add the table of
authorities using the Index And Tables command on the Insert menu.
STATUSMicrosoft has confirmed this to be a problem in Word versions 6.0, 6.0a, and 6.0c for Windows. This problem was corrected in Word version 6.0 for Windows NT. WORKAROUNDThe EditTOACategory command must be used in the macro for each Table of Authorities Category that needs to be added to the WINWORD6.INI file. The EditTOACategory command precedes the InsertTableofAuthorities command as shown in this example:
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN
RISK. Microsoft provides this macro code "as is" without warranty of any
kind, either express or implied, including but not limited to the implied
warranties of merchantability and/or fitness for a particular purpose.
MORE INFORMATION
The first time you create a table of authorities (using the Index And
Tables command from the Insert menu), the [Table of Authorities Categories]
section is added to the WINWORD6.INI file. This section includes 16 default
categories. The WordBasic InsertTableofAuthorities command does not add
this entry and also does not define the default categories in the
WINWORD6.INI file. The result of not having these entries in the
WINWORD6.INI file are shown in the following examples:
Using the macro from the "Symptoms" section above, a table of authorities
will look like this:
Note that the Category title "CASES" (without the quotation marks) is
missing. This is because the macro does not create the [Table of
Authorities Categories] section in the WINWORD6.INI file.
REFERENCES"Microsoft Word Developer's Kit," version 6.0, page 541 Additional query words: 6.0 winword toa table of authorities categories category winword6.ini macro InsertTableofAuthorities
Keywords : kbmacro |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |