Sdílet prostřednictvím


IntelliSense Code Snippets in Office Projects

Visual Studio includes a number of customizable IntelliSense code snippets that provide code specific to Microsoft Office projects. IntelliSense code snippets are pieces of code that are ready to be inserted in your application with a few clicks. Each snippet performs a complete programming task. For more information about IntelliSense code snippets, see Code Snippet Picker.

Applies to: The information in this topic applies to document-level projects and application-level projects for Microsoft Office 2010 and the 2007 Microsoft Office system. For more information, see Features Available by Office Application and Project Type.

Snippet Tasks

The snippets include tasks such as the following:

  • Importing content from other documents.

  • Creating tables and PivotTable reports.

  • Importing and exporting data.

  • Manipulating actions panes.

  • Working with cached data.

  • Formatting documents.

  • Manipulating menus.

  • Creating controls.

See Also

Tasks

Troubleshooting Snippets

Concepts

Security Considerations in Using Snippets

Best Practices for Using IntelliSense Code Snippets

Common Tasks in Office Programming

Other Resources

Getting Started (Office Development in Visual Studio)