Sharing Code with the Code Librarian
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
You can store and manage reusable code in a centralized database. You can add your own code to the existing Code Librarian database, or you can create new code databases. The Code Librarian has a whole new look for Microsoft Office XP Developer, providing more efficient code management and functionality.
The Code Librarian includes a large starter database of prewritten code for standard routines for Microsoft® Office XP, Visual Basic® for Applications (VBA), Office XP Developer projects and the Microsoft Development Environment.
Each code snippet is associated with a category and multiple keywords, making it easy to find the code you are looking for. When you have located a desired piece of code in the Code Librarian, it is easy to add that code to your code module. The Code Librarian supports drag-and-drop as well as cut-and-paste actions.
In This Section
- Opening the Code Librarian
Open the Code Librarian from the Windows Start menu. - Creating a Code Library
With the Code Librarian, you can package all of the source code with descriptions, keywords, and searchable text and titles. - Creating Code Librarian Categories
Associate your source code with categories and code item types. - Associating Keywords with a Code Item
Keywords are a great way to find relevant code items fast. - Using Code Snippets from the Code Library
Specify search criteria to find source code in the Code Librarian database and add it to your project. - Distributing Code Samples with the Code Librarian Viewer
Easily distribute sample code using the redistributable Code Librarian Viewer.
Related Sections
- Code Librarian
User interface reference topics describing the elements of the Code Librarian. - Building Reusable Code Libraries
You can increase your productivity by storing and managing reusable code in a centralized database.