Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dim rng as Range, cell as Range
if Application.CountA(columns(1)) < 0 then set rng = Intersect(columns(1).SpecialCells(xlConstants).Ent ireRow, _ Columns(2)) for each cell in rng if lcase(cell.Value) = "abc" then cell.offset(0,1).ClearContents end if NExt End if -- Regards, Tom Ogilvy "MAYDAY " wrote in message ... Thanks Tom, I apologize for not being more clear. What I'm trying to do is this: If there is a cell in column A that has a value of 'abc'(hard coded, no formulas), I want the contents in the cell to the right to be deleted. --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Weird: inside of a cell I have a small box or cell I can't delete. | Excel Discussion (Misc queries) | |||
In Excel, how do you delete gridlines for one cell? | Excel Discussion (Misc queries) | |||
How to delete cell values withour deleting cell formulae | Excel Discussion (Misc queries) | |||
How to delete cell values without affecting cell formulae | Excel Discussion (Misc queries) | |||
Delete cell contents with input to adjacent cell | Excel Discussion (Misc queries) |