Hi
I'm using Excel2003. I have a number of cells in a sheet with a formula similar to "=IF((RC[-57]+RC[-38])>20;IF(RC[-19]>=0,07;"XX";"");"")"
I need my VBA code to find these cells and perform some action. If I use code like
Set b = Cells.Find("XX")
I can find the cells that have the VALUE "XX", but I need to find all the cells with the formula. My problem is that if I use instead
Set b = Cells.Find("XX", xlFormulas)
I get a "Runtime error 13 - Type Mismatch".
Any advice or ideas are much appreciated.
Thx
I'm using Excel2003. I have a number of cells in a sheet with a formula similar to "=IF((RC[-57]+RC[-38])>20;IF(RC[-19]>=0,07;"XX";"");"")"
I need my VBA code to find these cells and perform some action. If I use code like
Set b = Cells.Find("XX")
I can find the cells that have the VALUE "XX", but I need to find all the cells with the formula. My problem is that if I use instead
Set b = Cells.Find("XX", xlFormulas)
I get a "Runtime error 13 - Type Mismatch".
Any advice or ideas are much appreciated.
Thx