I'm trying to enter an IF statement while recording a macro, and normally this wouldn't be a problem. But with this particular IF statement, an error ("Unable to record in macro")comes up right after I push the "Enter" after writing in the statement. After I'm recording the Macro, I notice there is no IF statement in the actual VBA code.
Here's the IF statement:
=IF(AND(OR(D2="500 Account",D2="055 Account"),OR(LEFT(B2,2)="LT",B2="** Investment Intraco",B2="Fed Funds Purch Account",B2="Fed Funds Account")),1/0,IF(OR(D2="500 Account",D2="055 Account"),1,1/0))
Can anyone see why this particular IF statement would cause a problem while recording the macro?
Thanks in advance...
Bookmarks