View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
hotherps[_67_] hotherps[_67_] is offline
external usenet poster
 
Posts: 1
Default Add one more condition

I'm using the following code:



For Each Cell In Range("D3:AJ19")
If Range("E25").Value = Range("G22") And Cell.Value "" Then
Cell.Value = Range("AO1")

This works well, but I want to add another condition.

I 'll write in pseudo code

if col AK on the active row = "x" then return the value in AK1
continue to do this for the following range of columns AK:AP

Thank

--
Message posted from http://www.ExcelForum.com