Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a range of cells, A5:C42, with multiple instances in the format
00-00-00. Cell A4 has the date in the format 06-01-10. I want to use a quick macro attacked to a picture that replaces the 00-00-00 with the 06-01-10 in all instances. A hard coded: Range("A5:C42").Select Selection.Replace What:="00-00-00", Replacement:="06-01-10", LookAt:= _ xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False works fine, but I do this daily and monthly and don't want to edit the macro each day. I need the Replacement: equal to cell A4. Thanks, Ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy contents of Find (Find and Replace) | Excel Discussion (Misc queries) | |||
Find & Replace part of cell contents | Excel Programming | |||
Replace #VALUE! with contents of cell?? | Excel Worksheet Functions | |||
Find and Replace Hyperlink Contents | Excel Discussion (Misc queries) | |||
replace cell contents | Excel Worksheet Functions |