How do I... (Object library reference for Office)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

This topic lists programming tasks for common Microsoft Office scenarios and provides links to how-to and walkthrough topics that address those tasks. The Microsoft Office Developer Documentation team welcomes your task ideas and code samples. To submit task ideas and code samples, contact us at

The following how-to topics provide key task-based procedures for those who want to program and develop applications by using the Microsoft Office Object Library.