Hi
I'd like to create a function which returns the number 1 if the TEXT of a cell in the preceding column is red.
Is it possible to do this with VBA?
I was thinking of writing something along these lines, but would appreciate any pointers!
Thanks in advance.
I'd like to create a function which returns the number 1 if the TEXT of a cell in the preceding column is red.
Is it possible to do this with VBA?
I was thinking of writing something along these lines, but would appreciate any pointers!
Thanks in advance.
HTML:
Function FontDetect()
if activecell.font.color = vbRed then
activecell.offset(0,1).value = 1
else
end if
End Function
Last edited: