For information about how to download these files, see the "Instructions for Downloading" section later in this article.
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 FilesIf 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
Spanish Xl5es32.olb Vbaes32.olb
Swedish Xl5sv32.olb Vbasv32.olb
Determining the Location of an Object LibraryTo determine the location of an object library on your computer's hard disk, do the following:
- In Microsoft Excel, switch to a Visual Basic module sheet in a workbook.
- On the Tools menu, click References.
- From the Available References list, select the library name.
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 VersionTo 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:
- Copy the object library files (VBA*.olb) to the System subfolder of your Windows folder, for example in c:\Windows\System.
- Copy the Microsoft Excel 7.0 object library files (Xl*.olb) to the folder to which you installed Microsoft Excel.
- Start Microsoft Excel version 7.0.
- Create a new module. In the module, click References on the Tools menu. Click the Browse button.
- 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."
- Repeat step 5 with the Visual Basic for applications object library file, for example Vbafr.olb. In the References dialog box, click OK.
- 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.
- Create a Visual Basic module in a new project.
INSTRUCTIONS FOR DOWNLOADINGThe following files are available for download from the Microsoft Download Center:
Article ID: 140629 - Last Review: Jun 22, 2014 - Revision: 1