I recorded a macro to get this code for conditional formatting. It works in the spreadsheet but not in VBA:
Cells L2 through L7 have formulas. Cell D7 is a formula. I need the summed values of cells L2 through L7 compared to the value of cell D7. If they total the same amount, I don't want any conditional formats set. If the totals don't match, I want conditional formatting to fill the interior of cell D7 red and change the font color to black (default is red). (This lets me know there is a calculation error somewhere in my spreadsheet).
Any suggestions?
Thanks, Debbie
Bookmarks