Re: Search only values, then replace

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You're welcome, Paul - thanks for feeding back.

Pete

On May 6, 9:03 pm, paul.domas...@xxxxxxxxx wrote:
That's an interesting function (Go To Special).  The Text checkbox is
subordinate to the Formulas checkbox, though, so I didn't touch that.
The Constants checkbox did what I wanted.  However, I note that a
numerical cell containing the value 3 (or =3) is not considered a
constant.  It doesn't affect my search in this specific circumstance,
though.

Thanks!

On May 6, 12:39 pm, Pete_UK <pashu...@xxxxxxxxxxx> wrote:



Press F5 (GoTo), then click on Special, select Constants and Text
(i.e. unselect Numbers, Logicals and Errors). Click OK, and this will
then highlight those cells with values that are text. Then do CTRL-H
(Find/Replace) and enter your search string and replace string and
click Replace All - it will only affect the highlighted cells.

Hope this helps.

Pete

On May 6, 5:16 pm, paul.domas...@xxxxxxxxx wrote:

In Excel 2003, without using VB[A], is there a way go to all cells
whose *value* contains the search string, then replace that string
inside the cell with a replacement string if the cell doesn't contain
a formula?  If I search formulas, there are too many unwanted hits.- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: Find String Excel VBA
    ... "Tom Ogilvy" wrote: ... >> I am trying to create a vba routine to read a text string in a particular ... >> paste another range into a location starting one cell to the right of the ... the search string is coming from ...
    (microsoft.public.excel.programming)
  • Re: Find String Excel VBA
    ... > I am trying to create a vba routine to read a text string in a particular ... > paste another range into a location starting one cell to the right of the ... > database operation of fetching and updating records. ... the search string is coming from ...
    (microsoft.public.excel.programming)
  • Re: Search only values, then replace
    ... subordinate to the Formulas checkbox, though, so I didn't touch that. ... and enter your search string and replace string and ... whose *value* contains the search string, ... inside the cell with a replacement string if the cell doesn't contain ...
    (microsoft.public.excel)
  • RE: Excel 2003 Macro to add text to front of data in cell
    ... search string that you enter is not the full content of a cell, ... A step would have to be designed to test each cell for the ... this macro would pass it. ...
    (microsoft.public.excel.programming)
  • VB, implementing the high score within this code
    ... Private possibleAs String ... Private Function SolvePuzzleAs Boolean ... ' Calculates the possible values for all the cell ...
    (microsoft.public.dotnet.languages.vb)