Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hope I explain this good enough.
Cell A6 has an If-then formula that will show "Send Now" in the cell if the date in another column matches a certain criteria. =IF(E7<1,"",IF(E7<=WORKDAY(TODAY(),1,Holidays_2007 ),"SEND NOW","")) The cell will show SEND NOW if the criteria matches. Otherwise the cell will have the formula in it, but will look blank. I'm trying to write a macro that will recognize when the cell shows Send Now, as opposed to just the formula. Here's a simplified version of what I want. This doesn't work, but it shows the concept of what I'm trying to do. Range("A6").Select 'cell with the formula in it If ActiveCell.Value = "Send Now" Then 'How do I write this line so that SEND NOW is recognized? Range("L8").Select ActiveCell.Value = "Send Now" End If I've search Help, and other postings here, but can't find the answer. If you could help, I'd appreciate it very much. Thanks, J.O. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula does not display the resulting value in the cell | New Users to Excel | |||
auto change cell text colour resulting from a condition | Excel Worksheet Functions | |||
Results no longer currency when adding text to formula / formulas based on resulting cell don't work. | Excel Programming | |||
My formula show up in the cell instead of a resulting value | Excel Worksheet Functions | |||
Distinguishing cell formula from value. | Excel Programming |