MS Excel and Visual Basic Library Files (.olb) Available

Isenção de Responsabilidade para Conteúdo da KB Desativado

Este artigo foi escrito sobre produtos para os quais a Microsoft já não fornece suporte. Por conseguinte, este artigo é oferecido "tal como está" e não será mais atualizado.

Summary

Object library files are available for Microsoft Excel and Microsoft Visual Basic for applications. The files are available to download from the Microsoft Download Center.

For information about how to download these files, see the "Instructions for Downloading" section later in this article.

More Information

FILES AVAILABLE FROM ONLINE SERVICES


Item ID File name Description
--------------------------------------------
S15673 Danolb32.exe Danish
S15674 Dutolb32.exe Dutch
S15675 Finolb32.exe Finnish
S15676 Frolb32.exe French
S15677 Gerolb32.exe German
S15678 Itlolb32.exe Italian
S15679 Norolb32.exe Norwegian
S15681 Spnolb32.exe Spanish
S15682 Swdolb32.exe Swedish

Visual Basic and Microsoft Excel Object Library Files

If your Visual Basic code in Microsoft Excel is written in a language other than English, you should always include the appropriate language object library files (.olb) when you distribute your Visual Basic application, in case the recipient doesn't already have the library files. If your code calls procedures written in multiple languages, then you should include the object libraries for each of those languages. You should also include all workbooks and other object libraries that are referenced by the application that you are distributing.

Microsoft allows all registered owners of Microsoft Excel to distribute object libraries with their applications to other registered owners as necessary. The names of the object library files available from Microsoft are listed in the following table.

Microsoft Excel for Visual Basic for
Language Windows .olb file Applications .olb file
----------------------------------------------------------------
Danish Xl5da32.olb Vbada32.olb
Dutch Xl5nl32.olb Vbanl32.olb
Finnish Xl5fi32.olb Vbafi32.olb
French Xl5fr32.olb Vbafr32.olb
German Xl5de32.olb Vbade32.olb
Italian Xl5it32.olb Vbait32.olb
Norwegian Xl5no32.olb Vbano32.olb
Portuguese Xl5ptb32.olb Vbaptb32.olb
(Brazil)
Spanish Xl5es32.olb Vbaes32.olb
Swedish Xl5sv32.olb Vbasv32.olb

Determining the Location of an Object Library

To determine the location of an object library on your computer's hard disk, do the following:
  1. In Microsoft Excel, switch to a Visual Basic module sheet in a workbook.
  2. On the Tools menu, click References.
  3. From the Available References list, select the library name.
The library file location is listed next to Path under Description.

This procedure is also useful for determining which object library files you should distribute with your application. The check box next to a referenced object library file is selected.

Registering a Different Language Version

To register a different language version of an object library file and to reference this language version in a new Visual Basic project, do the following:
  1. Copy the object library files (VBA*.olb) to the System subfolder of your Windows folder, for example in c:\Windows\System.
  2. Copy the Microsoft Excel 7.0 object library files (Xl*.olb) to the folder to which you installed Microsoft Excel.
  3. Start Microsoft Excel version 7.0.
  4. Create a new module. In the module, click References on the Tools menu. Click the Browse button.
  5. Locate and select the Microsoft Excel object library file, for example Xl5fr32.olb, and click OK. Click OK in the dialog box that appears with the error message "Object library language setting incompatible with current project."
  6. Repeat step 5 with the Visual Basic for applications object library file, for example Vbafr.olb. In the References dialog box, click OK.
  7. Click Options on the Tools menu. Select the Module General tab, and under International, select Default Settings. From the Language/Country list, select the language and country of the object library file you want to use. Click OK.
  8. Create a Visual Basic module in a new project.
Note that in Microsoft Excel, you must create a new workbook and then create the new module to use the new default Language/Country option.

INSTRUCTIONS FOR DOWNLOADING

The following files are available for download from the Microsoft Download Center:
For more information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Propriedades

ID do Artigo: 140629 - Última Revisão: 22 de jun de 2014 - Revisão: 1

Comentários