XL97: Contents of the Samples.xls Workbook

Article translations Article translations
Article ID: 162323 - View products that this article applies to.
This article was previously published under Q162323
For a Microsoft Excel 2000 and later version of this article, see 213528.
Expand all | Collapse all

On This Page


One file that is included with Microsoft Excel 97 is a workbook that contains examples for using Microsoft Excel. This workbook, called Samples.xls, is located in the following folder:
   C:\Program Files\Microsoft Office\Office\Examples
This article contains a brief summary of the contents of the Samples.xls workbook.


The Samples.xls workbook contains eight worksheets: a table of contents worksheet, and seven worksheets that are dedicated to a specific topic. Each worksheet is described in this section.


This worksheet contains introductory information, disclaimers, and links to the other worksheets.

Worksheet Functions

This worksheet contains information about suppressing error values in formulas and using the Lookup Wizard to find values in tables of information.


This worksheet contains information about using arrays in Visual Basic for Applications macros. Two links to Visual Basic modules that contain sample code are also available.

Repeating Tasks

This worksheet contains information about using different types of loops in Visual Basic macros: For...Each loops, For...Each loops, and Do...loops. The worksheet also contains four links to Visual Basic modules that contain sample code.

Chart Labels

This worksheet contains an example that shows you how to add labels to points in an xy (scatter) chart. Sample data, a sample chart, and a link to the Visual Basic macros that create and remove the labels are available on this worksheet.

Data Access

This worksheet contains detailed information about using Data Access Objects (DAO) to work with databases using Visual Basic macros. Numerous links to sample Visual Basic macros are available.

Office Automation

This worksheet contains information about controlling Word 97, Microsoft Access 97, PowerPoint 97, Outlook 97, and Office Binder 97 using a macro in Microsoft Excel 97. Links to sample code are available.


This worksheet contains information about programming with events in Microsoft Excel 97. The events that are covered include BeforeDoubleClick, Change, and BeforeClose. Sample code is contained in this worksheet.


Article ID: 162323 - Last Review: October 10, 2006 - Revision: 1.2
  • Microsoft Excel 97 Standard Edition
kbinfo KB162323
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com