For the first scenario, I am not entirely clear on your intent. Which cell do you want to format? Also, are you sure Now is the function you want to use? If that is the case, it will only change the format if it is run at the exact second of the other 2 cells, since Now is not just the date. If you are looking for just the date to be the same, then I would change the function to Today.
For the second, I assume you only want the 2 cells to be formatted if they are both blank? If so:
If IsEmpty(Range("A2")) And IsEmpty(Range("D2")) Then
Range("A2").Interior.ColorIndex = 38
Range("D2").Interior.ColorIndex = 38
End If
Jason
Bookmarks