Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Replacing data in a cell
I would like to scan specific columns (but all the rows in the specified
columns) for a certain value, in this case 99, and if a cell has a value of 99, I need to replace it with another number, 3 in this case. I think this would be an 'if then' type of thing with a loop perhaps, but its been so long since I worked with basic.... Any help would be appreciated. Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Replacing data in a cell
Consider EditReplace
-- Kind regards, Niek Otten Microsoft MVP - Excel "green72" wrote in message ... |I would like to scan specific columns (but all the rows in the specified | columns) for a certain value, in this case 99, and if a cell has a value of | 99, I need to replace it with another number, 3 in this case. | | I think this would be an 'if then' type of thing with a loop perhaps, but | its been so long since I worked with basic.... | | Any help would be appreciated. | | Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Replacing data in a cell
If you only want to replace a value with 99 as the only thing in the cell
select the range or columneditreplaceoptionswhole -- Don Guillett Microsoft MVP Excel SalesAid Software "green72" wrote in message ... I would like to scan specific columns (but all the rows in the specified columns) for a certain value, in this case 99, and if a cell has a value of 99, I need to replace it with another number, 3 in this case. I think this would be an 'if then' type of thing with a loop perhaps, but its been so long since I worked with basic.... Any help would be appreciated. Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Replacing data in a cell
Lots easier than that...
Sheets("Sheet1").Columns("A").Replace 99, 3, xlWhole -- HTH... Jim Thomlinson "green72" wrote: I would like to scan specific columns (but all the rows in the specified columns) for a certain value, in this case 99, and if a cell has a value of 99, I need to replace it with another number, 3 in this case. I think this would be an 'if then' type of thing with a loop perhaps, but its been so long since I worked with basic.... Any help would be appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
replacing contents of a cell with data froma list/file | Excel Worksheet Functions | |||
Replacing Data | Excel Worksheet Functions | |||
Replacing Cell Data | Excel Discussion (Misc queries) | |||
Replacing data | Excel Discussion (Misc queries) | |||
replacing data | Excel Discussion (Misc queries) |