Inconsistent Behavior of Find and Replace Dialog Box

Written by Allen Wyatt (last updated March 16, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


3

Arlene often uses Ctrl+F to locate records in her worksheet so she can modify them. When the Find and Replace dialog box opens, the text in the Find What box is highlighted, which is very helpful; it allows her to immediately overtype what was there before. Sometimes, however, the text in the Find What box is not highlighted, and instead the insertion point is at the beginning of the box's contents. When Arlene starts typing, her text is added to what was in the box before.

This inconsistency is understandably frustrating to Arlene. She would find it most helpful if the contents of the Find What box were always highlighted and that she could count on that all the time, but she cannot. So, she wonders if there is some setting she should check to ensure that Excel is consistent when displaying the Find and Replace dialog box.

There is no setting within Excel that controls whether the Find What text is selected or the insertion point is at the beginning of the Find What box. In fact, in our testing, we could not replicate this issue—every time we used Ctrl+F to display the Find and Replace dialog box, the Find What text was always highlighted. In addition, the text was highlighted every time we left the Find What box (by pressing Tab or by clicking on a different control in the Find and Replace dialog box) and then came back to the Find What box.

This would lead one to question if there might be some macro in play on Arlene's system that is intercepting the Ctrl+F shortcut key or, perhaps, some third-party program that is affecting how Find in Replace operates. If so, then setting Ctrl+F back to its normal operation should fix the problem.

Be that as it may, there is a relatively simple fix that can help ensure the Find What text is selected at all times. Immediately after press Ctrl+F to display the Find and Replace dialog box, press Ctrl+Shift+Right Arrow. This ensures that everything in the Find What box is selected, and if something was previously selected, that selection is not disturbed. At this point, any additional typing you do will overwrite whatever was in the Find What box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7923) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

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

Inserting Worksheet Values with a Macro

Macros are often used to process information in a worksheet. You may need your macro to change the values stored in ...

Discover More

Editing Macros

Even if you do nothing but record macros, sooner or later you will have a need to edit what you record. Here's how to get ...

Discover More

Temporarily Changing the Printer in a Macro

You can use a macro to print to any printer you have defined in Windows. It is good practice, if you are changing which ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Using Find and Replace to Pre-Pend Characters

Need to add some characters to the beginning of the contents in a range of cells? It's not as easy as you might hope, but ...

Discover More

Find and Replace in Headers

Using Find and Replace is something quite routine in Excel, as it easily allows you to find and replace information in ...

Discover More

Finding Cells Filled with a Particular Color

Do you need to find cells that are formatted with a particular color? How you accomplish this task depends on your ...

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 two more than 7?

2024-05-31 16:49:15

Jamie

I find that this happens to me if I leave the Find and Replace window between searches. The next time I CTRL + F the search text is not highlighted and the insertion point is placed at the end of the previous text. if I close the Find and Replace window between searches, then the next time I CTRL +F the previous search text is highlighted.


2024-03-17 09:55:20

Rick Emmertson

Today, when I opened an old .xlsx, itinerary, no word appeared, from the last time I used ctrl F. I searched for dinner, by typing din. I selected find all, it brought up a list of dinners, for the week. If I close the program, the next time I search for something, din is highlighted in blue. It may have to do with an update by windows or switching my microsoft 365 account as a family member, under my wife's account. Ask her about what version she has, or any updates or changes to her 365 account.


2024-03-16 16:40:11

Alex Blakenburg

Ctrl+A is easier to use and highlights the whole content (Ctrl+Shift+Right-Arrow only highlights the first word)
PS: I can't replicate the Arelen's issue either.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu 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.