View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norie Norie is offline
external usenet poster
 
Posts: 1
Default Need help to convert formula


Does this work?

Code:
--------------------

Dim rng As Range

Set rng = Range("C2")
Do While rng.Value < ""

If rng.Value = "FSOP" Then
rng.Offset(0, 7) = "P"
Else
rng.Offset(0, 7) = "S"
End If
Set rng = rng.Offset(1, 0)
Loop

--------------------


--
Norie
------------------------------------------------------------------------
Norie's Profile: http://www.excelforum.com/member.php...o&userid=19362
View this thread: http://www.excelforum.com/showthread...hreadid=379725