Microsoft Office Excel Keyboard, Microsoft Office Keyboard Settings, Options Dialog Box

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

Microsoft Office version

  • Excel 2007

  • Excel 2003

For more information, see Features Available by Application and Project Type.

Microsoft Office Excel and Visual Studio both handle shortcut keys. The same shortcut key combination can stand for different commands in Excel and in Visual Studio. When Excel is open inside Visual Studio, only one application at a time receives the shortcut key commands. By default, Visual Studio receives all shortcut key commands, but you can make Excel receive them when the document has focus by selecting Dynamic keyboard scheme.

If you use a shortcut key that is not assigned to a command in the application that is currently handling the shortcut keys, the shortcut key is passed on to the other application.

The option that you select will remain in effect for Excel projects until you change it. The selection does not affect Microsoft Office Word projects; you must make any change for Word using the Microsoft Office Word Keyboard options.

  • Visual Studio keyboard scheme
    Visual Studio receives all shortcut key commands, even if Excel has focus. For example, if you press the function key F5 while Excel has focus, Visual Studio starts debugging your solution.

  • Dynamic keyboard scheme
    Visual Studio receives shortcut key commands only when it has focus. When Excel has focus, Excel receives all shortcut key commands. For example, if you press the function key F5 while Excel has focus, Excel opens the Go To dialog box. If you press F5 while Visual Studio has focus, Visual Studio starts debugging your solution.

See Also

Concepts

Office Menus in the Visual Studio Environment

Reference

Microsoft Office Word Keyboard, Microsoft Office Keyboard Settings, Options Dialog Box