Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone tell me how to change the value of a cell in say column "B" based
on the value in a cell in column "A" when the value in column "A" is alphanumeric? I am already able to make this code work when the value in column "A" is numeric only, but the code does not have any affect when the value in "A" is alphanumeric. Here is the code I am using: Sub test() For i = 1 To Cells(Rows.Count, "C").End(xlUp).Row If Cells(i, "a").Value = "dfg260" Then Cells(i, "d").Value = "48" End If Next i End Sub thanks -- Me! cypher |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change background color of cell based on vlookup in cell | Excel Discussion (Misc queries) | |||
Automatically change cell colors based on date in cell | Excel Discussion (Misc queries) | |||
Change Text Color in one cell based upon entry in referenced cell | Excel Discussion (Misc queries) | |||
change current cell colour based on the value of adjacent cell on other worksheet | Excel Programming | |||
How do I change cell color based upon data range within the cell? | Excel Worksheet Functions |