Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
find replace
I am looking for a macro that will find and replace text in the formulas
contained within a group of cells (B2:B65). The text that I want to find is contained in a cell (T3) and the text that I want to insert is contained in a cell (T4). Any suggestions of a macro or builtin function that I am unaware of? Thanks, Micah |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
find replace
Sub Replace()
Range("B2:B65").Replace What:=Range("T3"), _ Replacement:=Range("T4"), LookAt:=xlwhole End Sub -- Charles Chickering "A good example is twice the value of good advice." "Micah" wrote: I am looking for a macro that will find and replace text in the formulas contained within a group of cells (B2:B65). The text that I want to find is contained in a cell (T3) and the text that I want to insert is contained in a cell (T4). Any suggestions of a macro or builtin function that I am unaware of? Thanks, Micah |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
find replace
Thanks for the help. That works like a champ.
Micah "Charles Chickering" wrote: Sub Replace() Range("B2:B65").Replace What:=Range("T3"), _ Replacement:=Range("T4"), LookAt:=xlwhole End Sub -- Charles Chickering "A good example is twice the value of good advice." "Micah" wrote: I am looking for a macro that will find and replace text in the formulas contained within a group of cells (B2:B65). The text that I want to find is contained in a cell (T3) and the text that I want to insert is contained in a cell (T4). Any suggestions of a macro or builtin function that I am unaware of? Thanks, Micah |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions | |||
Using Find and Replace to replace " in a macro | Excel Programming | |||
Replace method - cannot find any data to replace | Excel Programming |