Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
if & and code problem
I have spent hours trying to correct this Excel code and am considering
resigning. Can anyone help ? ActiveCell.Formula = "=IF((C2)="""",""1"",IF(AND((A2)=""enddate"",(E2)< ""01/01/01"",(E2)<NOW()+14),""2"",if(and((A2)=""startem"", date(0,month(e2),day(e2))date(0,month(now()),day( now())),(e2)=""3""),""XXX""))" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
If/then code problem | Excel Programming | |||
Can anyone see the problem with this code? | Excel Programming | |||
code problem | Excel Programming | |||
Problem with this code | Excel Programming | |||
Code problem | Excel Programming |