Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Quickly Changing Windows.

Quickly Changing Windows

by Allen Wyatt
(last updated July 26, 2016)

If you routinely use several open workbooks to do you 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 cycles backwards.

Another shortcut is to use Ctrl+Tab and Shift+Ctrl+Tab to switch windows. These function just the same as Ctrl+F6 and 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 toolbar button. 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

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2078) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Quickly Changing Windows.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining a Random Value

Random values are often needed when working with certain types of data. When you need to generate a random value in a macro, ...

Discover More

Keep with Previous

Word allows you to format a paragraph so that it is on the same page as whatever paragraph follows it. You may want, however, ...

Discover More

Word Marks Mixed Case Acronyms as Incorrect

Many acronyms (such as DoD) are considered correct when they used mixed uppercase and lowercase. Word may not seem them as ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Conditionally Playing an Audio File

You can add audio files to an Excel worksheet, but what if you want a particular audio file to play only when a value in a ...

Discover More

Setting the Width for Row Labels

Excel displays, by default, a row label or heading at the left side of each row on the screen. As you scroll down the screen, ...

Discover More

Accessing Old Excel Data

If you have some legacy data stored in very old spreadsheet files, you may be wondering how to get that data into an Excel ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.