question

FredF-4471 avatar image
0 Votes"
FredF-4471 asked FredF-4471 answered

Excel Find Replace stops working

I have found an issue with Excel the issue exists in 2016 and 2019. If you have a series of columns with spaces in them and want to use find replace to remove them after the first time Excel will no longer find anything that you search for in other columns. This happens when you change what your are using for the find replace options.

So I have a spreadsheet with 2 identical columns, they contain spaces, I use find replace on column A for the space I use ALT-0010 using any other option yields the same results.

I tell Excel to find all spaces and replace them with 34 it finds 64 and replaces them with 64, I go to Column B and bring find/replace back up delete the items in the find replace fields. I enter the same information and it says nothing found.

I recorded a video as it is much easier to see it than type it out?

https://youtu.be/iZhV6v1wgZg

office-excel-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

emilyhua-msft avatar image
0 Votes"
emilyhua-msft answered emilyhua-msft edited

@FredF-4471

According to the video you provided, I had a test.

I could reproduce your issue by following your steps. But I noticed that after I replaced the line breaks with Alt+0010 in the first column, if I used Replace function again, the alt+0010 format (A black point.) would automatically appear in "Find what" box and be reused.

97759-capture32.png


But when you reopen this workbook, the "Find what" and "Replace with" boxes will be cleared, which explains why this issue does not exist after reopening workbooks.

I suggest you put cursor in 'Find what" box and press Delete key to make sure "line break character" is cleared after you replaced the line breaks.

Any updates, please let me know.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


capture32.png (4.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FredF-4471 avatar image
0 Votes"
FredF-4471 answered emilyhua-msft commented

Thanks for the additional information I think I tried what you ware suggesting with the same result but will try it tomorrow. I spent most of the day working at remote locations.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FredF-4471
I am checking this thread, do you have a chance to check this issue?
If yes, any updates please let me know.

0 Votes 0 ·
FredF-4471 avatar image
0 Votes"
FredF-4471 answered

I found that I could still replicate the issue when clearing the find replace but not on a 100% repeatable basis. It seems like there is a buffer somewhere that gets corrupt from using control characters. I did create a Macro for my customer to provide a a workaround. I also realized i could do an on screen keyboard so the keystrokes are captured in the video. Right now i have to create a new WSUS server VM so it might be the end of the week before I can revisit this issue.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.