Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
col = 3
NameOld = Cells(4, 1) Do NameNew = Cells(1, col) Cells(2, col).Replace What:=NameOld, _ Replacement:=NameNew, LookAt:=xlPart, _ SearchOrder:=xlByColumns, MatchCase:=False, _ SearchFormat:=False, ReplaceFormat:=False col = col + 1 Loop Until Cells(2, col) = "" Hth, Merjet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro that adds formula to replace text | Excel Worksheet Functions | |||
Macro to replace file name many times | Excel Programming | |||
Macro to evaluate a cell and replace one part of the formula | Excel Programming | |||
How can I replace a formula with its result using a macro? | Excel Programming | |||
macro to export files but not replace an exsisting file name | Excel Programming |