XL97: How to Use a Toolbar Settings File from a Network Share

Last reviewed: January 15, 1998
Article ID: Q161235
The information in this article applies to:
  • Microsoft Excel 97 for Windows

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SUMMARY

This article contains information about using a Microsoft Excel toolbar settings file that is stored on a shared location on a network.

MORE INFORMATION

Toolbars allow you to organize the commands in Microsoft Excel so that you can find and use them quickly. For example, you can add and remove menus and buttons, create your own custom toolbars, hide or display toolbars, and move toolbars. In Microsoft Excel 5.0 and 7.0, toolbars contain only buttons. Now toolbars can contain buttons, menus, or a combination of both.

When you quit Microsoft Excel, changes you make to the menu bar and built- in toolbars, custom toolbars you create, and toolbars you display are saved in a toolbars settings file in the Windows folder. This Microsoft Excel saves this settings file as <Username>8.xlb, where <Username> is your Windows or network logon name. If your computer is not connected to a network, or is not set up with a logon prompt, Microsoft Excel saves the settings file as Excel8.xlb.

Microsoft Excel 97 also allows you to use a toolbar settings file from a shared location on the network. This allows you to log on to any computer that has access to the network and gain access to a personal toolbar and menu settings file on the network server.

To use this feature, you must add a key to the registration database on each of the computers that is connected to the network.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

To use a Microsoft Excel toolbar settings file from a network share, use the following steps:

  1. Copy the user's toolbar settings file to a shared folder on the network. This file is located in the Windows folder on any computer on which the user logged-on and ran Microsoft Excel.

    Note that running Microsoft Excel creates a local toolbar settings file called <Username>8.xlb, where <Username> is the Windows or network logon name of the current user.

  2. On the Start menu, click Run. In the Open box, type "regedit" (without the quotation marks), and click OK.

  3. Open the following key in the registry:

          HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Excel\Microsoft Excel
    

  4. On the Edit menu, click New, and click String Value.

  5. Type "CmdBarFile" (without the quotation marks) as the name of the new String Value.

  6. Leave the CmdBarFile String Value selected, and click Modify on the Edit menu.

    This step opens the Edit String dialog box. In the Data Value box, type a valid path to the shared folder on the network that contains the user's toolbar file.

    The following example shows the syntax to use for the string:

          \\<Servername>\<Sharename>\
    

    where Servername is the name of the server on which the shared folder that contains the toolbar setting file is located, and Sharename is the name of the shared folder.

    IMPORTANT: The path must end with a trailing backslash, and the user must have read/write permission to the shared folder and the toolbar file.

REFERENCES

For more information about toolbars or menus, click the Index tab in Microsoft Excel 97 Help, type the following text

   toolbar, menu

and then double-click the selected text to go to the "Menus" topic.


Additional query words: XL97 command tool bar commandbar
Keywords : xlwin xlwinsetup kbenv
Version : WINDOWS:97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.