XL: Find and Replace Commands Don't Work with Nonadjacent CellsLast reviewed: August 7, 1997Article ID: Q99520 |
4.00 4.00a
WINDOWS
The information in this article applies to:
SYMPTOMSIn Microsoft Excel versions 4.0 and 4.0a for Windows, when you use the Find and Replace commands (located on the Formula menu) on nonadjacent selections, you receive the following unexpected results:
Note: These commands work correctly in Microsoft Excel versions 3.0 and 4.0 for the Macintosh and in Microsoft Excel version 3.0 for Windows.
STATUSMicrosoft has confirmed this to be a problem in the versions of Microsoft Excel listed above. This problem was corrected in a later version of Microsoft Excel.
MORE INFORMATIONThe incorrect selections will vary depending on which cell is active in the selection, the option that is selected under Look By in the Find and Replace dialog boxes, and the relationship of the Nonadjacent ranges.
WORKAROUNDTo work around this problem, select an adjacent range of cells when you use the Find or Replace commands on the Formula menu. The Replace command fails in the same way as the Find command does when you are using the Find Next and Replace buttons to individually change cells. If you use the Replace All button, all of the matching cells will be correctly found and replaced with the text specified in the Replace With box. The one instance in which Replace All may fail is when there is a matching cell between the nonadjacent selections and, prior to selecting Replace All, you toggled through each of the matching cells using Find Next.
Steps to Reproduce the ProblemFollowing are examples where the Find and Replace commands do not work correctly.
Example 1
Example 2
If you begin with cell A1 active by selecting C1:C4 first and then A1:A4, choosing Find from the Formula menu and pressing F7 will take you from cell A1 to cell A2 to cell C3 where it stops. Pressing F7 continually selects cell C3 when it should go to cell C4 next and then back to cell A1. Again with A1 the active cell in the Nonadjacent selection, if you select the Look By Columns option instead of Rows, the Find command and F7 correctly selects cells A1 and A2. Next C3 and C4 will be selected but pressing F7 should take you back to A1; C3 is selected instead. Different behavior may occur when the one range is above or below another and this will vary according to the option you have selected for the Look By option.
REFERENCES"User's Guide 1," pages 202-204.
|
KBCategory: kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |