bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > General > Quickly Changing Windows

Quickly Changing Windows

Summary: Word proves several keyboard shortcuts that allow you to cycle through the open workbook windows on your screen. There is no similar “cycling” method for those using a mouse, unless you implement the macro discussed in this tip. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

If you routinely use several open workbooks to do your work, you already know that you can change between workbook windows by choosing the workbook name from the Window menu. You may not know, however, that there is a shortcut for changing windows. You can cycle through your documents by pressing either Ctrl+F6 or Shift+Ctrl+F6. The difference is that Ctrl+F6 cycles through the list of windows in a forwards direction, while Shift+Ctrl+F6.

If you would rather not take your hands off the mouse, you can create a macro which cycles through the windows. This macro can then be assigned to a button on one of your toolbars. The following macro will do the trick:

Sub ChangeWin()
    On Error GoTo ChangeWinErr
    Set nw = ActiveWindow.ActivateNext
    If Windows.Count > 1 Then
        nw.Activate
        Exit Sub
    End If
    ChangeWinErr:
        Windows(1).Activate
End Sub

Tip #2078 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003


More Power! Expand your skills and make Excel really sing! It's all possible with macros. The best resource anywhere for macros is ExcelTips: The Macros. Check it out today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)