Hi
I want to loop through a source range and pickup the actual cell position from the source array, and apply conditional formating on a destination range, with each cell referencing the unique cell in source range. Plase see the picture for description.
So instead of getting the value in "A2" (for instance "1") from range "A2:C3". Id' like to get the positional excel value of "Sheet1!A2" ..B2 etc.
' High level approach
Sub setcondformat()
Dim sourcearr ??, Dim destarr ??, Dim Strpos as String
Dim Strvalue as String ' not necessary, but interesting for educational purposes
For each cell in Source Array do
select next cell in destination Array ' eg Sheet2!"J2", "K2" etc ..
Set conditional format value = Strpos ' in cond format dialog eg "A2", "B2" etc..
Next cell sourcearr
end loop
End sub
