Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would appreciate any help if I can use oldwords & newwords array list as a defined range in another worksheet 'Temp'. This way it would be flexible to change the values in sheet rather than in code. -------------------------------------- Sub ReplaceAll() OldWords = Array("value1, value2,.........value(n)") NewWords = Array("value1, value2,.........value(n)") For i = LBound(OldWords) To UBound(OldWords) Cells.Replace OldWords(i), NewWords(i) Next i End Sub ------------------------------------- Thx. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem using obj.Namespace(sourceFileName) Namespace(DestinationFilename).Itemsand then opening the xls file which creates a Temp Folder inside Temp | Excel Discussion (Misc queries) | |||
Defined named range (Array list) | Excel Programming | |||
Recently Used File List - 2002 Contains 'Temp' Files | Excel Discussion (Misc queries) | |||
Cant Select temp Sheet | Excel Programming | |||
Copying Temp List to cell | Excel Programming |