ID: Q180925
The information in this article applies to:
This article describes how you can use the Microsoft Outlook 98 Message view of a messaging application programming interface (MAPI) folder to display a Microsoft Excel 97 worksheet's custom properties.
The example below allows you to display a list of Microsoft Excel worksheets in such a manner that contents of selected cells are also displayed. For example, in Outlook your worksheets may be displayed as follows, where Department and Total are cell ranges within each worksheet:
NOTE: This procedure requires that Integrated File Management be installed on your computer. It is not installed during a new install of Outlook 98. It is installed during an upgrade, and can be added by running Outlook 98 setup and selecting add new components.
   From          Subject          Department      Total
   ----          -------          ----------      -----
   John Doe      Sales.xls        Sales          100,000
   Jane Doe      Expenses.xls     Expenses           500
1. In Microsoft Excel, create a new worksheet as follows and format cell
   A2 as text and cells B2:F2 as numbers:
          A          B        C        D        E        F
    1 Department     Q1       Q2       Q3       Q4     Total
    2 Sales        25,000   25,000   25,000   25,000   100,000
3. On the Insert menu, point to Name, and then click Define on the menu
   that appears to open the Define Name dialog box.
   Add, and then click OK.
6. On the Insert menu, point to Name, and then click Define on the menu
   that appears to open the Define Name dialog box.
1. On the File menu, click Properties to open the File Properties dialog
   box.
3. In the Source list, click Department, and in the Name box, type
   Department, and then click Add.
   Add, and then click OK.
   close it.
1. Start Outlook and on the Outlook Bar, click Other Shortcuts to make it
   the active group.
   Create New Folder dialog box.
   click to select Mail Items. Click OK.
   shortcut will appear under the group, My Shortcuts.
6. Drag the Sales.xls file to the Testlink shortcut on the Outlook
   Bar in the My Shortcuts group.
1. Click the Testlink shortcut on the Outlook Bar. The Sales.xls
   file is now an item in the Testlink MAPI folder. You should see
   Sales.xls in the Messages view of the Testlink folder.
   Field Chooser on the shortcut menu.
   select "User-defined fields in folder."
   current view to create new columns. You should now see the Department
   name and the Total fields with the information from the Excel
   Worksheet.
6. With Sales.xls open, type "50000" in the cell E2.
7. On the File menu, click Exit, and when prompted to save changes,
   click Yes.
   The updated value in the Total field of the Outlook messages view
   should read "125,000."
For more information about creating name ranges in Microsoft Excel, type "name range" in the Office Assistant, click Search, and then click to view "Name cells in a workbook."
For more information about creating Outlook user-defined fields, type "creating user-defined fields" in the Office Assistant, click Search, and then click to view "Create a custom field."
Additional query words:
Keywords          : kbdta IntpOle 
Version           : WINDOWS:98
Platform          : WINDOWS
Issue type        : kbhowtoLast Reviewed: February 12, 1999