OFF95: Forcing Office Shortcuts into a SubgroupLast reviewed: January 23, 1998Article ID: Q135880 |
The information in this article applies to:- Microsoft Office for Windows 95, version 7.0
SUMMARYThis article explains how you can force the Microsoft Office 7.0 Setup program to create shortcuts for the various Microsoft Office applications in a subgroup of the Start menu, rather than directly in the Start menu itself.
MORE INFORMATIONWhen you install Microsoft Office for Windows 95, version 7.0, the Setup program creates shortcuts for the various Microsoft Office applications directly in the Start menu. This behavior is different from that used in earlier versions of Microsoft Office; in earlier versions, icons for the applications are created in a separate group in Program Manager. For example, the default hierarchy used by Microsoft Office 7.0 is as follows:
Programs <-- main level Microsoft Excel <-- application shortcut Microsoft Word Microsoft PowerPoint Microsoft Access Microsoft Schedule+ Microsoft Binderand so on. The default hierarchy used by earlier versions of Microsoft Office appears as follows:
Program Manager <-- main level Microsoft Office <-- program group Microsoft Excel <-- program icon Microsoft Word Microsoft PowerPoint Microsoft AccessIt is possible to change the behavior of the Microsoft Office 7.0 Setup program, so that it creates application shortcuts in a separate subgroup in the Start menu, rather than in the Start menu itself:
Programs <-- main level Microsoft Office 95 <-- menu subgroup Microsoft Excel <-- application shortcut Microsoft Word Microsoft PowerPoint Microsoft Access Microsoft Schedule+ Microsoft BinderBy making certain changes to the STF file used by Microsoft Office 7.0 Setup, you can force the Setup application to create the application shortcuts in any desired subgroup of the Start menu. WARNING: This modification may not be supported by Microsoft Product Support Services (PSS). PSS will support some modifications to a BACKUP copy of the SETUP.STF file. Note also that while PSS may help customers modify specific lines of an STF, we will not rewrite the entire file in order to achieve a desired configuration. As a general rule, support is limited to options that can normally be changed by a user during a standard installation of the application. For more information about customizing the location of the Office shortcuts on the Start menu after installing Microsoft Office, please see the following article in the Microsoft Knowledge Base:
ARTICLE ID: Q132979 TITLE : OFF95: Customizing Start Menu to Create Microsoft Office Menu Opening and Saving the STF FileNOTE: Do NOT make changes to the original SETUP.STF file. Before making any modifications to an STF file, make a copy of the file and modify the copy. After you have made a copy of the STF file, you can open the copy of the STF file in Microsoft Excel by following these steps:
Setup /T N:\Office\Custom.stf Manual Modification of the STF FileIn the Microsoft Office 7.0 (Standard Edition) STF file, the following ObjIDs control the location of the following application shortcuts.
ObjID Application Shortcut Destination (Column K) -------------------------------------------------------------- 862 Microsoft Binder %860,%d 1454 Microsoft Word %1452,%d 3152 Microsoft Excel %3150,%d 5102 Microsoft Schedule+ %5098,%d 6268 Microsoft Office Shortcut Bar %6258,%d 7658 Microsoft PowerPoint %7656,%d 6280 New Office Document %6260 6284 Open Office Document %6260The first six items listed above are, by default, created directly under the Programs menu. The last two items (New Office Document, Open Office Document) are created on the Start menu itself. By changing the value in the Destination column (column K), you can change the location where the shortcut will be created. The first part of the destination (preceding the comma) determines where the shortcut will be created. You can add additional pathing to the values, changing the locations that they refer to. For example, to create the Microsoft Binder shortcut in a subgroup called "Microsoft Office 95," you would change the value in column K from
%860,%dto:
%860\Microsoft Office 95,%dThe "\Microsoft Office 95" changes the path where the shortcut should be created. To install ALL of the shortcuts listed above into a separate subgroup ("Microsoft Office 95", for example) under the Programs menu, make the following changes to the values in column K:
ObjID Destination ------------------------------------ 862 %860\Microsoft Office 95,%d 1454 %1452\Microsoft Office 95,%d 3152 %3150\Microsoft Office 95,%d 5102 %5098\Microsoft Office 95,%d 6268 %6258\Microsoft Office 95,%d 6280 %860\Microsoft Office 95 6284 %860\Microsoft Office 95 7658 %7656\Microsoft Office 95,%dNote that the Destinations for ObjIDs 6280 and 6284 have been changed to "%860\Microsoft Office 95," instead of "%6260\Microsoft Office 95." This is necessary in this case because using %6260 would cause a new subgroup to be created at the top of the Start menu, not within the Programs menu. After you have modified the STF file, save the file by following the steps in the "Opening and Saving an STF File" section above.
Automated Modification of the STF FileYou can use the following Visual Basic, Applications Edition, macro to make the necessary modifications to the values in column K of the STF file. NOTE: This macro is designed to work with the STF file used by Microsoft Office version 7.0 for Windows 95, Standard Edition. If you are using a different version of Microsoft Office 7.0 (the Professional Edition, for example), you will need to use different values in the ItemArray variable used in this macro. Microsoft provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. This Visual Basic procedure is provided 'as is' and Microsoft does not guarantee that it can be used in all situations. Microsoft does not support modifications of this procedure to suit customer requirements for a particular purpose.
Sub ModifyOffice7STF() 'The values contained in the "ItemArray =" line are specific to 'the STF file used by Microsoft Office 7.0, Standard Edition. You 'may need to use different values if you are using a different 'version of Microsoft Office. ' 'If you also want to relocate the New Office Document and Open 'Office Document shortcuts to the new subgroup, use this line of 'code instead: ' ' ItemArray = Array(860, 1452, 3150, 5098, 6258, 7656, 6260) ' ItemArray = Array(860, 1452, 3150, 5098, 6258, 7656) 'Modify this line to contain the desired name of your subgroup. SubgroupName = "Microsoft Office 95" 'Start the loop. For X = 0 To UBound(ItemArray, 1) 'Set the StatusBar so that we can see what's happening. Application.StatusBar = "Changing Object ID " & _ ItemArray(X) & "..." 'Select a range large enough to contain the entire STF file. Range("A1:M10000").Select 'Change the value in the Destination column. Selection.Replace What:="%" & ItemArray(X), _ Replacement:="%" & ItemArray(0) & "\" & SubgroupName Next X 'Reset the StatusBar. Application.StatusBar = False End SubTo use this macro, do the following:
|
Additional query words: 7.00 officeinterop word6 powerpt admin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |