Microsoft KB Archive/68548

The File Insert Submenu Is Sorted Alphanumerically PSS ID Number: Q68548 Article last modified on 10-29-1991 PSS database name: W_PowerPt

2.00

WINDOWS

Summary:

The entries in the File Insert submenu are sorted alphanumerically according to the human readable classname specified for each entry in the [Embedding] section of the WIN.INI file. The human readable classname is the second argument to the right of the equal sign (=) in each entry of the [Embedding] section.

More Information:

A typical [Embedding] section in WIN.INI may contain the following lines:

[Embedding] Graph=Business Graphs from PowerPoint Graph, Graph, PPTGraph.exe, picture ExcelWorksheet=Worksheet created by Microsoft Excel, ExcelWorksheet, Excel.exe, picture ExcelChart=Chart created by Microsoft Excel, ExcelChart, Excel.exe, picture

Note: The three entries in the [Embedding] section above appear on single lines in WIN.INI and are word wrapped here for convenience.

In the above entries, the three different human readable classnames are Graph, ExcelWorksheet, and ExcelChart. In PowerPoint for Windows, the classnames will be listed in the File Insert submenu in the following order:

ExcelChart ExcelWorksheet Graph

You can change the order in which the entries appear in the File Insert command by modifying the classnames for each entry in the [Embedding] section. For example, if want the line for PowerPoint Graph to be listed first, you might change the entries to read:

[Embedding] Graph=Business Graphs from PowerPoint Graph, 1 Graph, PPTGraph.exe, picture ExcelWorksheet=Worksheet created by Microsoft Excel, 2 Excel Worksheet, Excel.exe, picture ExcelChart=Chart created by Microsoft Excel, 3 Excel Chart, Excel.exe, picture

The modified classnames would then be listed in the File Insert submenu in the following order:

1 Graph 2 Excel Worksheet 3 Excel Chart

Copyright Microsoft Corporation 1991.